Note that you also need to take the object owne into account - the code above assumes the table is owned by 'dbo'.if exists (select * from sysobjects where type = 'U' and name = 'table +_name') begin drop table table_name end
Michael
In reply to Re: T-SQL problem - Perl solution?
by mpeppler
in thread T-SQL problem - Perl solution?
by Win
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |