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

create and drop together?

Status
Not open for further replies.

bonosa

Programmer
May 19, 2004
76
US
Is is possible to drop table if exists and create it in the same query?

Thanks,
sb
 
Does just deleting all the rows work for you?

DELETE FROM MyTable
 
That wont work since the tables have varying number of columns. But I do appreciate your help. I guess I will go with a drop query followed by a create.
Thanks,
sb
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top