parallel query DeadLock
Heyi have a deadlock im trying to deal with for a long time and no success i will love some helpthis is my table : private const string CreateLicenses = "CREATE TABLE [Licenses] (" +...
View ArticleBackup Failure
Hi allI have a backup problem:2013-03-03 17:59:11.51 spid223 BackupMedium::ReportIoError: write failure on backup device 'H:\file.BAK'. Operating system error 112(error not found). 2013-03-03...
View Article[Microsoft][ODBC Excel Driver] Your network access was interrupted
Im having trouble with this ERROR. SQL##f - SqlState: S1000, ErrorCode: 4294966274, ErrorMsg: [Microsoft][ODBC Excel Driver] Your network access was interrupted. To continue, close the database, and...
View ArticleIndexs still marked as not being used but already deleted...?
Hi allI am currently going through the indexes which are not currently used on the live system. What I have noticed is when I get my numbers (or lack thereof) from sys.dm_db_index_usage_stats, it...
View Articleset static port 1433 for named database instance on Cluster databaseserver
http://msdn.microsoft.com/en-us/library/ms177440%28v=sql.100%29.aspxNow SQL server browser is already running and requirement is to change the SQL port from Dynamic to static 1433.We have been asked to...
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 ArticleRename server name - how about windows group on the server?
After we changed computer name, and I renamed SQL server name too following ms articles. by using sp_dropserver, sp_addserver. But I see there are still somewhere on the server left with old computer...
View ArticleTwo database connection
There are two related databases. There are two servers in the same network One server, one database I would like to connect the two databases Is there any way?
View ArticleRestoring FileGroups...
We are currently in the process of designing a Consolidated System (data for multiple organizations stored in one database server) using SQL Server 2005. One of the design goal is to refresh individual...
View Articlesql 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 Articlesql server management studio 2008
am using sql server management studio 2008 32bit. i cannot start server agent.. i cannot right click and start
View ArticleOracle long raw data in an oracle view were truncated when I select the view...
Hi,my issue was very strange. our SQL 2005 server needs to retrieve some data from an Oracle table, the oracle table contains a long raw datatype column. I created a linked server, run "select"...
View Articlesys.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 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 ArticleSQL Server eat all the Server RAM
Hi All, Server got 60GB RAM and SQL is eating 59GB also this server running like a dog? I just got this server to look after and want some help to sort the issues?Select @@versionMicrosoft SQL Server...
View ArticleDatabase Backup suddenly doubled the time it generally takes
Hi All,We have an environment where an instance has around 2.6 TB of data. Generally it takes around 14-15 hours for taking a complete backup of this data. But recently it started taking 2 days (48...
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 ArticleIncrease workspace memory area but not data cache area?
Is there any way to increase the amount of memory SQL will use for the workspace memory area but not increase the amount of space for actual data cache? I'm doing performance testing and scaling the...
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 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 Article