Check 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 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 ArticlePerformance comparisons between SQL Server 2008 R2 and SQL Server 2012?
Are there any published performance comparisons between SQL Server 2008 R2 and SQL Server 2012? I would be interested to know if any like-for-like tests have been performed (ie. same database, same...
View ArticleMessage [097] Memory leak detected [8 bytes]
I stopped sql agent, reporting services and sqlserver 2008, then restarted them, when look at the sql agent log file, I see the msg:1/12/2014 10:48:45 PM:[097] Memory leak detected [8 bytes]1/12/2014...
View ArticleChanging a column collation - problems?
Hello,I have a VFP database that was migrated to SQL Server 2012. One of the VFP table's PK's utilized uppercase and lowercase values to distinguish rows, which of course does not fly by default in SQL...
View ArticleRestoring failed: There is insufficient system memory in resource pool...
Hi,I am going through all those similar questions but non of them solved my issue. Our database is lost by mistake, now we need to recover the database from the backup. The backup file is 4.23 GB and...
View ArticleSQL Server won't start - unhelpful error message in log
I am running SQL Server 2008 on Windows Server 2008. SQL server had been running using a netowrk account, which i then changed over to a dedicated Active Directory account, and I tried restarting the...
View Articlebackup size of transaction log
Hi,I want to check the backup size of Transaction logs?please helpREgardsBilal
View ArticleScheduled Job launches CPU to 100 %
On a SQL server 2008 we're running a stored procedure.When we launch the SP manually from within management Studio, the SP runs for 4 minutes and takes 60 % CPU on the server. When we launch the same...
View ArticleRestore verifyonly is not fulfilling the need, but due to space problem on...
For checking the consistency of full backups of production databases we are copying them on test server and restore them then drop them by a job. But one database among them is as much large that it...
View ArticleSQL Server issues and solutions
All,I have started a blog regarding MS SQL Server, where I have given some post based on my experience. Even I am still writing for few things and I'll keep doing it.I am just writing to know the...
View ArticleSQL server 2012 : There is insufficient system memory in resource pool...
We have recently upgraded from SQL server 2008 to SQL server 2012.We are getting this error when browsing to several pages on our website. There is insufficient system memory in resource pool...
View ArticleScheduled Job launches CPU to 100 %
On a SQL server 2008 we're running a stored procedure.When we launch the SP manually from within management Studio, the SP runs for 4 minutes and takes 60 % CPU on the server. When we launch the same...
View Article