SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2000 Forums
 SQL Server Administration (2000)
 Attach database error 2812
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

atemperly
Starting Member

3 Posts

Posted - 10/25/2011 :  11:38:00  Show Profile  Reply with Quote
Trying to attach database to SQL 2000. Getting the following:
MIcrosoft SQL-DMO (ODBC SQLStates: 42000)
Error 2812: Could not find store procedure 'master.dbo.xp_fileexit'.

Any suggestions to how I can the attached database?

nigelrivett
Flowing Fount of Yak Knowledge

United Kingdom
3383 Posts

Posted - 10/25/2011 :  11:50:13  Show Profile  Visit nigelrivett's Homepage  Reply with Quote
are you sure it's not xp_fileexist?

Have you checked to see if it does exist - see if you have it on other machines.

==========================================
Cursors are useful if you don't know sql.
SSIS can be used in a similar way.
Beer is not cold and it isn't fizzy.
Go to Top of Page

akhan
Starting Member

Pakistan
3 Posts

Posted - 11/14/2011 :  06:27:55  Show Profile  Reply with Quote
Dear Sir,
I am using SQL Server 2000 and the problem i am facing that my database automatically is detach and when i attach again my database after few hours its detach again. Please guide me and reply me on asif.khan1979@hotmail.com
Go to Top of Page

akhan
Starting Member

Pakistan
3 Posts

Posted - 11/14/2011 :  06:28:23  Show Profile  Reply with Quote
Dear Sir,
I am using SQL Server 2000 and the problem i am facing that my database automatically is detach and when i attach again my database after few hours its detach again. Please guide me and reply me on asif.khan1979@hotmail.com



quote:
Originally posted by atemperly

Trying to attach database to SQL 2000. Getting the following:
MIcrosoft SQL-DMO (ODBC SQLStates: 42000)
Error 2812: Could not find store procedure 'master.dbo.xp_fileexit'.

Any suggestions to how I can the attached database?

Go to Top of Page

GilaMonster
Flowing Fount of Yak Knowledge

South Africa
4507 Posts

Posted - 11/14/2011 :  06:32:46  Show Profile  Visit GilaMonster's Homepage  Reply with Quote
SQL doesn't automatically detach databases ever. There will be a job or process running that's detaching them.

--
Gail Shaw
SQL Server MVP
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.08 seconds. Powered By: Snitz Forums 2000