0

may i know how do you check if a database table already exist in the database already or not with just using the sql query method.

Wasd
  • 23
  • 1
  • 5
  • 11
    Possible duplicate of [Check if table exists in SQL Server](http://stackoverflow.com/questions/167576/check-if-table-exists-in-sql-server) – Izzy May 02 '17 at 07:53

1 Answers1

0

Try this

IF Exist(Select 1 from INFORMATION_SCHEMA. COLUMNS where TABLE_NAME like '%tableName%')