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

Are multi-field indexes dangerous?

Regarding the issue of deadlocks I've been posting about for some weeks, and just why I seem to be having more of them on these two projects than on any previous ones, we do have a large number of...

View Article


Convert deadlock list to xdl

Hi AllI have turn on  trace flag global 1222. And dead lock is captured in error log.Are there any method to convert in to graph which is more easy to read ?

View Article


SQL 2012 (on Windows 2012) - High Compiles (not DB specific), Very low Plan...

SQL Server 2012 SP1 (Enterprise Edition) - 11.0.3000Windows Server 2012 (SP0) OS - 160 GB RAM SQL - 100 - 140 GB Allocated MemoryTempDB on Fusion I/O.MAX DOP = 8, OptimizeAdhocWorkload=True,...

View Article

how to access ldf file

how to access  ldf file 

View Article

SQL agent configured to call a SP

All,My problem scenarion is:"I have a SQL agent job setup that calls a SP which collects all data and sends a report to some email ids via msdb.dbo.sp_send_dbmail.The job is scheduled to run daily once...

View Article


SQL Server 2008 + .Net Framework 4.0.

Hello,We have SQL Server 2008 SP3 with cumulative update 6 on a cluster server.Our storage device is DELL equal logic.Due to some storage issues, we would like to upgrade the DELL HIT kit (=DELL...

View Article

database size and database backupsize is difference ?

hi all.,i have one database name:Athis A database full size is 2.gb finding the size [sp_helpdb]same A database backup size is 1200 mb finding backup file [latest backup file] why difference is happen? 

View Article

Copy database

I am trying to copy a database from one sql server to a network server to my pc.  The problem is I cann't access the network computer through windows explorer, so I cannot use detach/attach or...

View Article


Commit_Table WaitType

We experience periodic slowness on queries pulling changetracking data through the ChangeTable function. We are on SQL Server 2008 R2 version and CU updates to 10.50.2811, and in SnapSHot isolation....

View Article


Problems with the "EXECUTE AS" Clause in Stored Procedures

Hello ForumI'm having issues with the EXECUTE AS with stored procedures.  Esssentially I have ended up creating a new user, giving this user execute permissions on both stored procedures and giving the...

View Article

Bind variables in sql server

Is there any bind variables in SQL Server same as Oracle?Thanks

View Article

SQL 2005 Copy database - doesnt create trigger on destination?

I just used the copy database now and after it completed, i noticed that a trigger is missing from a table.  Does this feature not copy triggers over to the destination?

View Article

tempdb Log Filling - Cannot find how or what

Every couple weeks, the tempdb LOG fills and SQL Server is cycled to clear it out.  It happens very quickly - everything is peachy, then BAM!   Upgrading to SQL 2012 is the most significant change (I...

View Article


OPTION (SHRINKDB PLAN)

What would have caused these kind of queries to appear in recent expensive query window in the activity monitor? The event that happened when I saw this query was, our dB drive ran out of space and we...

View Article

Error -2147217871 Timeout Expired on Update Command

Hi All,I have an update command within vba that occurs on worksheet_change of a workbook. It works by once something is typed into Excel a connection to the database is opened and I grab variables from...

View Article


when option(recompile) hurts

OK now, I have a moderately large and ugly dynamic query from the entity framework coming in, and I thought I'd try playing with it.  I added a few indexes and took it from 150++ seconds to about 10...

View Article

Linked Server is not working from Sql Server Agent

Hi All,I have two sql Server instances(ServerA & ServerB) with same version(SQL Server 2012 Enterpraise edition) and created a linked server on ServerA to access ServerB.I can browse the ServerB...

View Article


Image may be NSFW.
Clik here to view.

many suspended processes, could you please tell me whats wrong?

SkyRiver

View Article

Restored master not restored msdb now have error

Some time ago I have server failure and have restored master databases and all user databases. I have not restored msdb database. The msdb database is default after clean install of a server.  Now I...

View Article

SQL Agent - what are some best practices with regards to job history, logging...

What are some common good ways to handle capturing error information.  The error will likely get written in the job history, but if a server is running several busy jobs, your job history might get...

View Article
Browsing all 15930 articles
Browse latest View live


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