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

update script

Ihave a sql server 2008 r2. i need to create a query that will update a value on a table upon inactivty for x amount of time. this would be for access control. may sound a bit primitive but system does...

View Article


SQL Serve Agent job time schedule to exclude 1st of every month?

Hi, I have a requirement to create SQL Server 2008 R2 Agent job to create a new schedule that run ONLY from 2nd day of the month to last day of month. Any idea how to create a new agent schedule to...

View Article


Can't access table named SysMessages in SQL Server 2012

I have a table in my database named SysMessages that I use for storing custom error messages. I have been using this for years in SQL Server 2005/2008 with no problem, but in 2012 whenever I refer to...

View Article

DBCC Checktable and Snapshot

Does all DBCC Check* DB commands create internal snapshot?another question if i have to run DBCC checktable will it create snapshot of whole database or only that particular table and dependencies like...

View Article

SSMS Express

can i use SQL Server Management Studio Express to connect to SQL Server 2008 R2 full version?

View Article


Minimally logged and backup log size

In Bulk logged recovery model, tlog backup will be greater than actual data operations done?e.g. if bulk operation only inserted data|modified data only in 1 page, entire extent will be copied not...

View Article

Issue with VSS backups and SQL Server

I have been looking at an old problem with VSS backups and SQL Server.Consider this scenario:You have a SQL Server backup strategy with normal (non VSS) full and differential backups.Now you do a VSS...

View Article

Corrupted Database Error 3456

After a simple reboot of the file server one of the data bases in the Sql Server 2k of the SBS 2000 appears in enterprise manager as supect. I decided to detach and again to attach the db. I have never...

View Article


Why does try/catch in SPs ignore DDL/schema errors?

I've wondered about this since I first saw it a while back (I've seen it across numerous SP versions of SQL 2k8R2 so assuming it's not a bug)If you create a sproc with a transaction and a try/catch...

View Article


memory sql server

hi everyonehow guarantee the OS usage memory from sql server 2008

View Article

Is this a Bug? System Assertion Failure On Manual Update Stats SQL 2008 R2 SP2

System:SQL 2008 R2 SP2 Enterprise x64 (10.50.4000.0)Windows 2008 R2 Enterprise X64 SP1 (6.1.7601) Error Message:Updating [dbo].[Bob]Location:     statutil.cpp:3225Expression:   m_fInitialized...

View Article

Operating system error 1909 - database backup

Hi All, Iam trying to run the following on my Development SQL Server (2008):DECLARE @strSQL NVARCHAR(2000) SET @strSQL = 'RESTORE DATABASE MyDB FROM  DISK =...

View Article

Error with dropping Transactional Publication

Running SQL 2012.Currently merge and transactional replication are setup on the datbase (db1). Trying to drop the publication is generating a log reader agent error.Exec sp_droppublication @publication...

View Article


Indexes are updated

Hi Team,I m working one performance issueI need to know When last indexex are updated date and time?2. When stasts are updated date and time in TEST database please suggest me..Txsubu

View Article

sp_send_dbmail fails when query uses linked server

I've seen this discussed in another thread however a solution was never found. This came up after we applied the SQL Server 2008 R2 SP2 patch to our DBMS which had previously been at 2008 R2 SP1. The...

View Article


Getting an error when loading a .sql file to DTA

Hello, I am trying to look into a query thats taking 5 mins to execute on our production. Its an LinQ generated 6000 Line SQL query that the dev team is trying to put into production without any...

View Article

MSDTC Disk resource Removal

What Steps shall i initiate if i want to remove MSDTC disk resource? SQL server is not dependent on MSDTC and vice versa..Manish

View Article


Image may be NSFW.
Clik here to view.

Higher wait wait times

 Hi,  We are seeing performance problems on one of our servers. I ran the following query to get higher wait types : WITH [Waits] AS       (SELECT              getdate() as Time_Stamp,...

View Article

SetFileIoOverlappedRange Bug- Question about available fixes

I have a 64-bit Windows Server 2008 R2 running 64-bit SQL server 2008 R2 RTM (soon to be SP2).I have read the CSS blog regarding the SetFileIOOverlappedRange bug...

View Article

update command being changed to delete+insert (deferred update)

I have a transactional replication of a table. The update commands being run to this published table are changed to delete+insert commands (deferred update). The update is not to the primary key. There...

View Article
Browsing all 15930 articles
Browse latest View live


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