|
|
Subject:
oracle table check before dropping table
Category: Computers > Programming Asked by: wag-ga List Price: $5.00 |
Posted:
27 Oct 2004 18:34 PDT
Expires: 27 Oct 2004 20:29 PDT Question ID: 421011 |
Hi, I want to do this. sqlplus login/password < dropandcreatetable.sql. Sample dropandcreatetable.sql: DROP TABLE TEST; CREATE TABLE TEST ( ID CHAR ); Can someone suggest a way to do this without getting table exists errors. This means i need to check if table exists and then drop table. conditions: i do not want to create a seperate proc to check if table exists. i do not want to turn of exception checking. So basically it needs to run with all the code in the sql file from command line. Any ideas? | |
|
|
There is no answer at this time. |
|
There are no comments at this time. |
If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you. |
Search Google Answers for |
Google Home - Answers FAQ - Terms of Service - Privacy Policy |