Check availability of a table
i m creating a table using this query
Select * into newtable from oldtable
This is query wen u want to create an empty newtable with a structure of old table
now , uptill this it works fine , but now i want to check if newtable already exists so i wrote
if not exists ( Select * into newtable from oldtable)
it gives syntax error why?