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

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 2878

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>