|
-
February 9th, 2003, 03:13 PM
#1
Table Existing
Hi,
Could any body tell me the proper way to find a table
whether it exists or not.
I use code:
OleDbConnection dbConnection = new OleDbConnection(ConnectionString);
string InsertQuery = "CREATE TABLE Processed (Cod INTEGER, ProcessDate DATETIME)";
OleDbCommand dbCreateCommand = new OleDbCommand(InsertQuery, dbConnection);
dbDeggyConnection.Open();
dbCreateCommand.ExecuteNonQuery();
But, if table already exist I get an error.
Thx in advance.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|