To prevent deadlocks
Hi,I am recently experiencing deadlocks between two process trying to update the same tables in the production server. Since it is an update operation not sure how to avoid it. Any suggestions would be...
View ArticleRevert mirroring from old principal to mirror server
Hi,If my principal DB becomes unavailable how do I activate my mirror DB. Once this operation is complete how do I revert to old principal and mirror situation?
View Articlequery to find adhoc queries taking high cpu on server
Hi,I want to find all the adhoc and other queries consuming high cpu on sql server. sys.dm_exec_cahched_plan will only have cached queries and not the currently running ones.
View ArticleODBC-compliance; Boolean expressions (Complex criteria in column-expressions...
Hi there!I'm almost certain that I've hit upon a couple of faults in SQL-server's ODBC compliance, but before i shoot off a bug report (I've heard that programmers take bug reports as personal insults,...
View ArticleHelp resolving connectivity Issue to SQL Server 2005 x64 SP4
We currently moved our Windows Server 2008 R2 Servers with SQL Server 2005 x64 SP4 to Active Directory. After moving the servers to Active Directory, we noticed that all of our processes that access...
View ArticleDatabase is unavailable
I have a database which worked fine yesterday. But today when i tried to open the DB it is not available as shown in the following image. Please give me a suggestion to get it back. Thanks in advance.
View ArticleCXPACKET Wait events
Hi,I am facing wait event CXPACKET in top wait events. we are using SQL Server 2012. the DOP is set to 1. Please suggest how to resolve thisREgards
View ArticleDatabase compressed. What about files?
Greetings, I have some compressed databases, and also been experimenting with compressing them (page compression). I don't have a lot of hands-on experience with this, so I am trying to understand....
View ArticleHow to check the scripts for Data Management Function?
Hi I want to know how the system functions has created, it should have some scripts to create. for example, what is the creation script for sys.dm_sql_referenced_entities ?Thanks
View ArticleSetting Up Link Server Using Active Domain Account
I am attempting to set up a Linked Server using an Active Directory account. However, I am getting the Login failed error message 18456. Is this because the account must have sysadmin privileges on...
View ArticlesqlNexus readTrace_main tab missing.
Greetings. I used sqlDiag and sqlNexus a couple weeks ago and all was well. Today I imported a new diag into nexus and my readTrace_Main tab is completely missing. I have rml 09.04.0004. What...
View ArticleThe operating system returned error 170(The requested resource is in use)
Hello Experts,We have a Sharepoint farm where we are receiving OS Error 170 for many days. It results in database shutdown/Start because required transaction file is not available.The operating system...
View ArticleDifferent PLE's on different numa nodes
We are running 2 node Availaibility Group FC servers with 3 numa nodes. On our Prod servers the PLE's differ from node to node on the Primary node yet and are the same on the Secondary node yet on our...
View ArticleSet status to Closed if date is less than -Help writing
I need help to create a query that I can run so that it will take all my completed jobs and close them from a certain date 12-1-2013 back.I am new and trying to get all the help I can.
View ArticleNamed instance cannot be accessed from another computer after IP address changed
HelloIn our SQL server computer, we are using dynamic IP. There are two instances; one of them is a named instance.We can access both instances.However, after changing the SQL server computer to...
View ArticleLogin failed for user 'null' Not associated with a trusted SQL server connection
HI AllI am using SQL 2000. One day at some time user not able to connect to this SQL using Windows domain Authen."Login failed for user 'null' Not associated with a trusted SQL server...
View Articlesql server ERROR..........
Hi,My name is arun. i am using windows 8 64-bit os and using visual studio 2012, sql server 2012, so when i connect or add sql server database from visual studio 2012 its giving error "a network...
View ArticleHow to calculate the memory a query consumes
Hi,maybe someone can answer this question?I have a large query which reads 207,760,387 pages. Does this mean that 207,760,387 * 8 KB (page size) / 128 = MB / 1024 = GB.That would mean that I would...
View ArticleConfiguring the database mail SQL server 2008 R2
In SQL server 2008 R2 under object explorer Management --> SQL server Logs in that cant find the database mail configuration to configure the mail account
View ArticleConfiguration issues
hi Team,we have 600 Gb production backup file, this 600 gb backup file restoring into DR site with no recovery mode,now we take tran log backup in prod db and restore into DR site with no recovery...
View Article