Quote:
Originally Posted by sajithamol
How we can find out by Query that wether a particular table exists?
Hi,
you can find the table in sys.tables
if exists(select name from sys.tables where name='table name')
drop table tablename|||you can find tables by using this query
Select name from sysobjects where xtype = 'u' and name like 'tblname%'
and for deleting the table
drop table tblName
No comments:
Post a Comment