A. Two methods :-
1. If object_id('tbl_name') is not null
<command>
2. if exists (select * from sysobjects where id = object_id('tbl_name') and sysstat & 0xf = 4)
<command>
0 comments
Hide comments
A. Two methods :-
1. If object_id('tbl_name') is not null
<command>
2. if exists (select * from sysobjects where id = object_id('tbl_name') and sysstat & 0xf = 4)
<command>