sys.dm_db_index_usage_stats usage
Hi ALLI want to know when will the data in sys.dm_db_index_usage_stats will be deleted?1. Reorganization2. Rebuilt3. DBCC CheckDB4. UpdateStatistics
View ArticleTemp DB consistency error event id: 824
Dear All,we are using a SAN storage to maintain our sharepoint databases.we face some i/o errors while restoring a 17gb databases and later all other databses started to giveconsistency errors..so we...
View Articledoes sp_create_plan_guide works when Database is in 2000 (80) compatibility mode
Hi All,We have a Query which is taking long some to execute but works fine some, so wanted to create a plan guide using sp_create_plan_guide_from_handle, but our version is SQL Server 2005, this sp is...
View ArticleMaximum amount of files in SQL 2008 Standard
Hello, I'm hoping someone may be able to help; my client is about to upgrade their current SQL 2008 R2 Express Edition to 2008 R2 Standard to overcome the 4GB DB size restriction (they are currently...
View ArticleDifferent execution plans on 2 different servers with same data
Hello, Very strange we faced at work yesterday. there is code where the select contains a cast (columnid as int)Now this works on one server and another server fails, its the same data on both the...
View ArticleSQL 2012 SQL Dumps Occurring Often and Taking up HD Space
New installation of SQL 2012 SP1 (11.0.3000.0). We're getting repeating sql dumps that are hogging HD space and can't identify what the issue is. Is there a way to stop/limit the logs? 2013-02-22...
View ArticlePhysical Filestream data storage questions.
I have a filestream confiugered table with all the requisits. I have a varbinary(max) column to store filestream files. Once I read a file into the table and SQL server places the document out onto...
View ArticleError Requesting CU1 for SQL Server 2008 R2 SP2
Hello, I've been attempting submit a request for the CU1 for SQL Server 2008 R2 SP2 for the past couple days, and am constantly given the error:The system is currently unavailable. Please try back...
View ArticleTimeout issue
Hi,We had timeout for one application connnected to sql server 2005. How to find out what cauase that timeout? where to check?thanks
View ArticleRemoving ndf files
Hi All,I have partitioned a table with 5 different NDF files.Now, I need to repartition with a different column. How will I bring back all the ndf data to the PRIMARY filegroup?DBCC SHRINKFILE...
View ArticleSQL Server 2008 R2 Consuming All Available Memory
I know that this question has been asked before. However, after reading through the previous posts I have found that I have more questions than answers. It seems that everyone has a different answer...
View ArticleWhere are my plans?
I have three stored procedures. SPA calls SPB calls SPC.I exec SPA, and it runs, calling SPB, calling SPC. Fine.But the DMVs don't seem to have any plans - for SPA and SPB! A few seconds later I run...
View ArticleShrinkfile emptyfile fails
I am benchmarking a new production server for our database. Our existing server has a single datafile on a SAN. We are looking to move these to Intel 910 SSD, which provide 4x 200GB volumes.So I am...
View Articlehow to multi-target for vista, windows 7 and windows 8 using sql server express
the original application was built for .net 3.5 using sql express 2008 mdf file with connect string ofData Source=.\SQLEXPRESS;AttachDbFilename=c:\MDF\StringTmp.mdf;Integrated Security=True;Connect...
View ArticleMaster DB location move error
I was trying to move the master file location from C to D drive and I followed below instructions but when I tried to start the service I got the message that service can be started on the ---I am...
View ArticleDBCC SHRINKFILE not recaliming the free disk space in a datafile but throwing...
Hi, Despite this is an huge narration, in order to get a solution, I should mention the background of this database file on which DBCC SHRINKFILE is getting failed.We have a SQL Server database file...
View ArticleSQL Server 2008 R2 is terminating because of fatal exception c0000005
SQL Server is terminating because of fatal exception c0000005. This error may be caused by an unhandled Win32 or C++ exception, or by an access violation encountered during exception handling. Check...
View ArticlePoweshell script error: the term 'import-module' is not recognized as the...
I am getting below error when executing a powershell script from sql agent job on a SQL Server 2008 R2 failover cluster. This code executed OK on other sql servers. Code runs fine when executed through...
View ArticleSQL server 2012 -Sys tables
Hi,In Sql, which sys table contains database name, table name, field name, field type and field size.I want these all fields in a single Sys table.If anybody knows about this then please let me...
View ArticleDefault Collation of Sql Server
Hi All,Why microsoft designed default collation is SQL_Latin1_General_CP1, is there any reason on behind? Please explainRaveendra
View Article