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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

table disappeared HOW!?!?

Status
Not open for further replies.

jhall156

Programmer
Joined
Aug 27, 2001
Messages
711
Location
US
Hiyas,
I am using a SQLServer 2000 installation to process web orders and parse email orders. We went into production this week and since my test cycle was woefully short, I have been in firefighting mode. I needed to create a debugging copy of a table. I went in to enterprise manager and rightclicked the table All Tasks|Generate SQL Script
I copied the script to the clipboard, opened query analyzer
pasted the result in, deleted the unneeded portion at the top, changed the name to add _debug to the end of it and ran it. I verified the table was created. About 1.5 - 2 hours later I realized that the table was missing (because it is the main gateway from my asp into the SQL box and I wasn't getting any web juice). I guess I can set up a foreign key relationship to keep it from happening again but I would like to know how it could've happened. I know I didn't drop the table in Enterprise manager 'cause it gives you a bigass confirmation dialog with a drop all button on it. Could something have happened with the script? Thanks in advance JHall
 
Never mind. Cheese and rice! What an idiot! I must've missed deleting the drop part of the script. JHall
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top