Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 2355

Re: Create Table Statement Error With If Exists Clause

$
0
0

Hi Courtney,

 

Try the following logic:

 

if exists

     (select * from sysobjects where name="TestExec")

drop table TestExec

go

begin

 

create.......

 

Hope this helps


Viewing all articles
Browse latest Browse all 2355

Trending Articles