June 10, 2008...9:34 am

SQL Query to check whether a table exists or not in a database

Jump to Comments

SELECT TABLE_NAME FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_NAME =
‘table Name’ AND TABLE_TYPE = ‘BASE TABLE’

2 Comments


Leave a Reply