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

Reclaim space from data file without taking backup

HiI just Rebuilded one of the index, it took 100 GB space (the table is very big almost 100 GB), the DB is in Full Recovery model,Before running the Rebuild index there was 125 GB of space, now the...

View Article


Table Record disappear at once!!!

Hi All~ I have a table with about 1000 rows of records and don't know why all the records are deleted.are there any method can trace back the cause of it?

View Article


blocking from xp_sysmail_format_query waittype of preemptive_os_getprocaddress

Hi! We have a hung process with wait type of preemptive_os_getprocaddress. The process's last statement was xp_sysmail_format_query. I tried killing the proc, but now it just in killed/rollback status....

View Article

Missing Server Memory?

Ill keep this short and to the pointTarget Server Memory = 67108864Total Server Memory = 67108864so far so goodMaximum workspace memory = 50429880So where is the missing 67108864-50429880 = 16678984Kb...

View Article

How can you evenly distribute the load across 20 cores with SQL Server 2012...

After installing SQL Server Enterprise 2012 with the Server + Cal license model, on a computer with 2 processors each with 16 cores (and no hyperthreading involved) and putting the server under...

View Article


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

SSMS Express

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

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


Demo question

Hello!"When SQL Server Agent jobs fail, the error messages returned by the job steps are truncated.You need to ensure that all the details of the job step failures are retained for SQL Server Agent...

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

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

memory sql server

hi everyonehow guarantee the OS usage memory from sql server 2008

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


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


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