Database is not accessible when treying to get it offline
i was requested to take a database offline.I pointed to my databse then right click --> tasks---> take offline.It seams that one user were still connected, i requested the users to log off.The...
View ArticleNetwork backup
Hi All~ I would like to backup database to a network resources. My sql start with a local service accout. I would like to keep this setting when doing network database backup. is it possible ? I find a...
View ArticleIs ATA-over-ethernet storage supported for SQL data/log files?
Does someone know if ATA-over-Ethernet kind of storage supported to put SQL Server data/log files on it? I am looking for some official document from MS. I know about iSCSCI and FC supportability......
View ArticleSystem database installation path location
Hi,Can we move system database installed path location to another drive.ThanksShashikala
View ArticleDependencies between table compression and clustered index compression
Hi.I figured out today that the compression could be set on table and also clustered index level. Before I saw this I thought the clustered index is like a representation of the table itself. But it...
View ArticleSlow execute of procedure on new server
I have strange problem with execution of stored procedure.Database was running on old Dell server and everything was running fine. This server had 16 GB RAM and 6 disk on 10k, RAID 50.After migration...
View Articlehow to rtroubleshoot hung sql server job?
This is sql server 2005(SQL server 9.0.5000). One sql server job is used to kick windows batch file.It runs hourly every day.These days, this sql server job always hungs sometime.But I don't why it...
View ArticleRecover database
Hi,Please consider the below scenario, please let me know the recover my db.Monday- 10 PM full backupTuesday- 6AM differential backupTuesday- 1PM Differential backupand transactional backup will take...
View Articlebackup to shared network folder
HiA backup script on a workgroup server stores the bak files on a network share of a server belonging to a different workgroup.Currently the SQL Server service runs under Network Service and has no...
View ArticleMSDB size
Hi All,I am running SQL Server 2008 R2 Std. MSDB has grown to a third of the size of the volume. We do hourly and nightly backups which is causing it to grow. I ran a cleanup to purge all backup...
View ArticleCheck database integrity throws 665 error when executing check database...
I have read all other cases that relate to this error and cannot get this to work. Running SQL Server 2012 sp1 on Windows server 2012 R2. Disk space and permissions are fine, but I get the error below...
View ArticleHow to copy backup files to shared drive daily with sql server 2012
Hello Friends, I have created backup database jobs in sql server 2012, step 1 takes backup for databases which is running fine. For example: BACKUP DATABASE [master] TO DISK =...
View ArticleGetting Latest Date
Hi, I have this table:ProductID|Product|EffectiveDate 1|Pencil|'2013-01-01' 2|Pencil|'2013-04-01' 3|Eraser|'2012-01-01' 4|Pen|'2014-02-01'I want to get the latest record for each of the product, with...
View ArticleMesure/Calculate IOPs in the production server?
We have production SQL Server and need to measure average IOPs so I can say to possible SAN vendors what is the minimmum IOPs for my server. - What is the calculation/measurement procedure: Can I use...
View ArticleAlwaysOn High Availability
Hi,We are on SQL SERVER 2012 and we need to enable Alwayson High Availablity.1. How Can I enable Alwayson HA?2. Does it require any licenses?Please suggestRegards
View ArticleLogin from LAN Client fails
Server: Windows Server 2012, Windows Firewall: Off, SQL Server Database Engines: ON, SQL Browser Service: ONClient: Windows 7 Home Premium (Local Area Network Computer)Issue:From server, I can use...
View ArticleDeadlock captures: "FETCH API_CURSOR..." but not query behind it......
This article shows how to "unmask" the sql query behind a FECTH API_CUSORhttp://www.sqlskills.com/blogs/joe/hunting-down-the-origins-of-fetch-api_cursor-and-sp_cursorfetch/that is shown in a deadlock...
View ArticleOnly retrieves a part of records using CONTAINS, after create full-text index...
Hi, I created a full-text index in SQL Server 2012, for CRM 2011 customized entity.But it cannot work well. Only a part of records are returned using CONTAINS. Any suggestion? Thanks!
View ArticleOracle User Password Change via Linked Server with SQL Server 2005
Is it possible to change a password for an Oracle user account over a linked server? I know I can use xp_cmdshell and launch sqlplus with my query, but I would prefer an alternate route, such as...
View ArticleDeadlock on Communication Buffer
I've read this happens with parallel query processing, but thats its. Can anyone shed a little more light on what I'm seeing.
View Article