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

Dropping Tables

Status
Not open for further replies.

gussifinknottle

Programmer
Jan 16, 2001
19
US
I have a script that drops a number of tables (after searching the system tables for their existence).

Depending on a select criteria (e.g. for a particular client, whose nameis specified), I may recreate and populate the above dropped tables.


IF (SELECT client_name = 'abc')

BEGIN

CREATE <table_customer>
INSERT INTO <table_customer> VALUES

END


However if the select criteria is not met
I get a system message stating

Could not find table table_customer. Will try to resolve this table name later.



How can I avoid getting this message?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top