Quantcast
Channel: SQL Server Database Engine forum
Browsing all 12554 articles
Browse latest View live

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 Article


Revert 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 Article


query 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 Article

ODBC-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 Article

Help 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 Article


Image may be NSFW.
Clik here to view.

Database 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 Article

CXPACKET 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 Article

Database 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 Article


How 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 Article


Setting 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 Article

sqlNexus 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 Article

The 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 Article

Different 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 Article


Set 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 Article

Named 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 Article


Login 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 Article

sql 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 Article


How 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 Article

Configuring 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 Article

Configuration 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
Browsing all 12554 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>