sql error 602 when attach Database in sql 2000
hi all,i have database in sql 2000 but when attach DataBase in sql get error error 602 : could not find row in sysindexes for database id 7 , object id 1 index id 1 , run DBCCcheck tabel on sysindexes...
View ArticleMaintanance backup plan fail
Hi allI have a maintenance plan to backup ALL databases on everyday 11:00am. however it failed start from wednesday.I see the log is so strange:Executing the query " declare @backupSetId as int select...
View ArticleCould not complete cursor operation because the set options have changed...
I get this error :Could not complete cursor operation because the set options have changed since the cursor was declared. [SQLSTATE 42000] (Error 16958). The step failed. by running my storage...
View ArticleCPU occupies 100 percentage on sql server
Hi All,If sql server is consuming 100% cpu, generally the sever is responding slow so how can we trouble shoot? some times on my server cpu consumig 100% so i want to resolve this issue, incase if...
View ArticleQUOTED_IDENTIFIER is a parse time setting but what if there are two in the...
BOL for this setting (2005-2012) hasn't changed. It says it is a parse time setting which happens before any lines are executed.SET QUOTED_IDENTIFIER OFF; DBCC useroptions EXEC(" IF EXISTS (SELECT *...
View ArticleMap temporary objects of temdb to sessions
Hi All,Does anyone know where stores SQL Server tempdb object list. From this list you can determine which temporary object belongs to which session. tempdb.sys.objectsor tempdb.sys.sysobjects have two...
View ArticleRestricting the SQL Server license usage
Dear,I have built a time-log application for my internal teams. This application has an ASP.NET web service on server and a mobile phone client (html / js). The web service is connected to an MS SQL...
View Articleloading data after index is created
Hi All,I have a table and it's loaded with data (around 10 lakh rows) and for performance, I have created a couple of indexes. This table gets populated every night and after 1 month the table has got...
View Articlenamed instance issue
I am currently having a named instance only hosting on my SQLServer. But I just verified that I am able to connect to it from SSMS without specifying the named instance name and by specifying the port...
View ArticleInsert bulk with TABLOCK hint is causing deadlock
Hi,We are running a application that inserts rows via INSERT BULKinsert bulk ByltRow ([ByltId] BigInt, [ByesRoundId] Int, [ByesSequenceId] Int, [Loss] Float) with (TABLOCK)I have up to 10 app servers...
View Articlesqlagent -c -v parameters.
What the use of -c -v parameters in starting sqlagentsqlagent90.exe -c -vManish
View ArticleRestore database issue
Hi all,I am trying restore on sql server 2008 databse with sql server 2005 database backup with standby recory.But i got error while restoring.The error is discribing following."The backup can not be...
View Article(type LOB data) with (type In-row data)
I have a couple of errors while running DBCC CHECKDBMsg 8965, Level 16, State 1, Line 1Table error: Object ID 530100929, index ID 1, partition ID 72057594062962688, alloc unit ID 72057594047168512...
View ArticleSQL 2012 Design Advice
I'm currently a sysadmin who's been given a database consolidation project. I have a plethora of small databases (the vast majority are under 10GB, with a handful between 30 & 100GB). Most of the...
View ArticleCannot connect to the server issue
Hi folks. I'm having a problem with my SQL Server. I had the Express version up and running for class, then ran into an exercise that needed Enterprise. Now that I have Enterprise downloaded and...
View ArticleReg data partition
Greetings,I'm new to SQL Server, I was studying about table partition, I am not able to understand how the left and right functions work, I went through many sites but not clear. Also when defining a...
View ArticleCannot read SQL Server 2008 database ,it is version 661. This server supports...
used to have sql 2005 then i uninstall it , and install sql 2008 now Im trying to open a visual studio project , when i want to open the DB included withi get :Timeout expired. The timeout period...
View ArticleBest initial size of database files on SSDs for data warehousing
Hi.I actually do my first implementation of a SQL Server DWH based on SSDs and our admin ask me to reduce the initial file size because of the behavior of the SSDs. With normal harddrives I setup the...
View ArticleCardinality estimates on a parallel join are wrong
Hello everybody,I'm having a problem with pretty simple query where the cardinality estimates seems to be off and usual methods that I knew for this kind of problem don't help.The query: SELECT...
View ArticleWhen do #temp and @temp tables cause recompiles?
In olden days any temp table creation would cause a recompile of the entire SP.However, I found that was already not the case even as early as SQL 2000, and I'm wondering what is the case in SQL 2008...
View Article