Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

URGENT! SQL WON'T RECOGNIZE A DATABASE

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I have a database that sql won't reconize. I need to connect the database and sql...

due to spacing issues on the server, I have deleted the transaction log...............


PLEASE HELP MMMMMMMMMMMMMMMMMMMEEEEEEEEE
 
Which database are you using?

If MS SQL Server 7 and above use sp_attach_single_file_db.

Syntax:

sp_attach_single_file_db [@dbname =] 'dbname',
[@physname =] 'physical_name'
Terry

;-) The single biggest challenge to learning SQL programming is unlearning procedural programming. -Joe Celko

SQL Article links:
 
Hiya,

What error message do you get? Are you sure that the user name that you are using has privilages into that database?

Tim
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top