Add new secondary server to logshipping without pushing full backup to first...
I currently have logshipping targetting one system and it is doing great. Now I would like to add a second target system for DR. I would like to have it start with the full backup, but since both of...
View ArticleDatabase Boot Page and MinLSN
Hi,BOL states the following while describing the processes of a checkpoint:Stores information recorded for the checkpoint in a chain of checkpoint log records. The LSN of the start of this chain is...
View ArticleError 15023: “User already exists in current database”
I've had to create a new test database using a restore of a live database. The people who will be doing the testing already exist as logins on this server but when I tried to give them access to the...
View ArticleSQL 2000 @@REMSERVER problem
I am having a problem on a SQL 2000 machine (Yes I know it is really old :-D) When using the @@REMSERVER on 4 of 5 servers it returns the machine value. When I do it on the 5th machine it sends back a...
View ArticleWaitresource - Find Exact Key
I am trying to interpret deadlock trace information. This is what I see in the waitresourcewaitresource=KEY: 9:72057594065256448 (f20077ea2259)Can someone help me decipher this? Thanks!
View Articlegetting error "The system cannot find the path specified." using xp_cmdshell
Hi, I am getting error "The system cannot find the path specified." using xp_cmdshell, tyring to copy file from one folder to another. Following is code i execute: DECLARE @fn char(6), @cmd...
View ArticleSQL DBA new trend
Hi all, I have a general question to ask I'm a production DBA, Looking at the job market, I saw lots of jobs require SSIS exp, Is this a new trend that DBA need to know SSIS package development ?...
View ArticleEventID - 833
Hi, We have Sql server 2005. User databases are in one drive and system databases are in C:/ drive. We are gettting alerts about Event ID: 833 from both user databases and system databases? Is surely...
View ArticleI need to Copy/refresh the "data only" to Test from prod
I need to Copy/refresh the "data only" to Test from prod without making changes to users/permissions. Please advice on the best approach to follow through with carrying out this ask
View Articledbcc opentran - SPID (server process ID): 74s
SPID (server process ID): 74s I did n't c this type of Id previously ,I cannot found this SPId in sysprocesses Can u pls help me ? Actually I checked with "dbcc opentran" , so that I found spId : 74 ,...
View Articleshrinkdatabase taking looooong time
I have a db that has one 58 gig data file. The server it was housed on finally ran out of disk space due to this app. I moved stuff off for several years to attempt to keep the app running. The end...
View ArticleFinding out Total Disk Space in TSQL
anyone know any workaround in TSQL who can give this result set? [b] Drive letter | Total Disk Space (MB) | Free Disk Space (MB) ----------------------------------------------------------- C 150000 10
View ArticleCan I kill DBCC Shrinkfile???
Is it safe to kill DBCC Shrinkfile? The process has been running for 30 minutes on an 11GB database. I have no idea how much more time it will take to shrink the database and would like to kill it,...
View ArticleQuestion about disk space report
I ran disk usage report on a db and it shows that the total space reserved is lower than Data file space reserved. Exemple: Total space reserved: 1 gig Data Files Space Reserved: 2 gig Transaction log...
View ArticleLock timeout request period exceeded error while trying to execute stored...
Hi All, I am trying to execute stored procedure which populates data into the table. It was working fine for few days and not it just throws Lock timeout request period exceeded error 1222 every...
View ArticleMsforeachtable
Is there a way to insert the output from the sp_msforeachtable proc in to a table.the query i am trying to run is :sp_MSforeachtable 'sp_spaceused ''?'''I tried the different variations of the insert...
View ArticleBCP produces garbled output
Hello, I have created a stored procedure that produces output for specific tables in our database. The output for one of the files is garbled. I have to have it fixed. The strategy I'm employing is to...
View ArticlePros/Cons between Default vs Named Instances
My situation is that our network admin has come up with a new, much more complex naming convention for our company's servers. They contain dashes and the names are sometimes quite long. I am flexable...
View ArticleSQL Server 2000 SP4 - Read Only DB Suspect
Evening All, In the process of migrating a small DB to SQL Server 2014, I've managed to mark one of the DB's as suspect because it was set to read only during the SP4 upgrade. It was previously SP3....
View Article