Quantcast
Channel: SQLServerCentral » SQL Server 7,2000 » Administration » Latest topics
Browsing all 482 articles
Browse latest View live

Cannot Kill Process stays in KILLED/ROLLBACK status

Hi I have killed one spid bu its still showing this KILLED/ROLLBACK statusSugest me to resolve this with out restating the server please.....[Foun a link here but it's not resolved my issue...

View Article


Could not find database ID 8. Database may not be activated yet or may be in...

9:00 AMI have two SQL 2000 boxes.SQL job runs on the Box 1 (SP3)and uses a linked server to Box 2 (SP4).Yesterday the databases on Box 2 referenced in that jobwere backed up and restored.The job ran OK...

View Article


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

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

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


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

SQL DBA new trend

Hi all, I have a general question to askI'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 ?Please...

View Article

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


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


Image may be NSFW.
Clik here to view.

bcp_init error

Would anyone know how to fix this error?Function: bcp_initSQLSTATE: HY000Native Error: 0Diagnostic: [Microsoft][ODBC SQL Server Driver]Unable to open BCP error-fileI checked the microsoft website and...

View Article

dbcc opentran - SPID (server process ID): 74s

SPID (server process ID): 74sI did n't c this type of Id previously ,I cannot found this SPId in sysprocessesCan u pls help me ?Actually I checked with "dbcc opentran" , so that I found spId : 74 , so...

View Article

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

Finding 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 100000...

View Article


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

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


Lock 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 morning...

View Article

Msforeachtable

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 Article


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

Use sp_MSforeachtable to gen COUNT(*) for each table in MyDBname

I'm trying to dynamically COUNT the # rows per table in a DB using sp_MSforeachtable. The following syntax executes DBCC CHECKTABLE for each table in my DB. HOW can I modify the following SQL to...

View Article

Pros/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 Article
Browsing all 482 articles
Browse latest View live