Unusual behaviour of SQL table
Good morning,We're noticing some unusual behaviour on one of our very old SQL 2005 (sp3) database servers and was wondering if anybody had come across anything similar.Below is the schema of a...
View ArticleVery bad performance...
Hi guys, I'm having a big problem with the performance. I got, for example, a query that is running since more than five hours ago. I've calculated that in the last minute it was written only 7mb (it's...
View ArticleError: An error occurred while preparing the query in openquery on ServiceNow...
Hi Team,Greetings of the Day!!!!!I have a created a link server on SQL Server 2008 R2 databse of Service Now ODBC driver. And written a stored procedure using openquery to get the data from link...
View ArticleAppears to be non-yielding on Scheduler 7
In the past week we have had several instances where an SQL instance becomes unresponsive and this error appears in the server log.Process 0:0:0 (0x14c4) Worker 0x00000000D444A1A0 appears to be...
View ArticleCONCAT_NULL_YIELDS_NULL value different in UI than in query?
I look at the database properties through SSMS explorer, right-click on database - right-click on properties. I see the value concat_null_yields_null with the value of false.When I run the queries in...
View ArticleJobs on passive side of mirror
Hello,Have a problem I can't seem to find a definitive answer. we have 2 SQL servers, 1 is the primary the other is a passive mirror. Both have about 20 jobs running in agent, each which fire stored...
View ArticleRestore MSDB Database
Hi - I have a corrupt MSDB database and I am not able to run dbcc checkdb with the fix parameter nor am I able to restore from backup - I get an error saying that the operating system returned error 23...
View ArticleA large table access suddenly got 2x slower
Access to one of our large tables suddenly got slow. We have a table T1 which contains millions of rows. For each row in that table, call an sp which looks up rows in table T2 and then updates T1. T2...
View ArticleOFFLINE Index rebuilds vs ONLINE Index rebuilds
Hi, Can anyone please tell me the difference between OFFLINE Index rebuilds and ONLINE Index rebuilds? Which one is good over the other? Thanks
View Articlemirroring error
hai ,in mirroring configuration , i got an error as above .please help me how to change a database from read only mode to read/write mode.thanks.
View ArticleHow to get alerted or notified when db goes offline
Hi All, I am basically looking for solution for the below problem. Is there a nice way for a DBA to get alerted/notified as and when a database is not accessible for any reason(say...
View ArticleHow to CATCH when database not exists?
What is the best solution/workaround for the following CATCH failure? Thanks.BEGIN TRY IF EXISTS(SELECT * FROM NorthwindX.INFORMATION_SCHEMA.TABLES) PRINT 'DB OK'; END TRY BEGIN CATCH PRINT 'DB...
View ArticleSlow import from a view
I am running into a weird issue. When I try to import data from a view from on database to another it's taking over an hour to copy roughly 300k rows. I am using import export wizard to do the import....
View Articleconnection pooling error and DB server not responding..
Hi Team,one of my production server running good, but suddenly i am getting below error even DBA also unable to access.error:Error: 18056, Severity: 20, State: 29.The client was unable to reuse a...
View Articlesp_addlinkedsrvlogin fails with @locallogin = 'NT AUTHORITY\NETWORKSERVICE'
If I run EXECmaster.dbo.sp_addlinkedsrvlogin@rmtsrvname = @serverName, @useself =N'False', @locallogin ='NT...
View ArticleMirrored backup on external HDD fails
Hi all,We have attached a HSB drive to server. When we backup on local drive and USB drive at the same time (mirrored backup) the following error is returned:Executed as user: NT AUTHORITY\SYSTEM. The...
View ArticleFor really expert, size checking
Hi guys, it's been weeks that I'm struggling with the performance of my datawarehouse. Some insert (with calculatio, hundreds millions of rows) used to take y, two hours now take seven or eight hours....
View ArticleWeird question on Job history
hi there: I've created a job and schedule it to run every 5 mins. This job contains 2 steps. This job has been running for a while and I want to check it out. I saw this log file which is very...
View ArticleFilegroup/Partitioning
Hi All,I want to take advice from all of experts,My database is located at data center and System Admin is telling to me SAN disk is sharable it means San disk is shared with many server and provide to...
View Articlesql server connecting error
hi Team,while i am tring to connecting sql server 2012 SSMS getting bleow error.Note: all named pipes and port are enabled .
View Article