How to check if table exists(SQL-Server)

admin

Administrator
Staff member
Hi list!

My problem is, how to check if a table exists in MS SQL-Server.
Creating the same table forces a sql error message. I only can catch the FALSE
at the odbc_exec function, when executing the SQL-command "SELECT * INTO table-name ....".

Any better ideas?

Andreas
 
Back
Top