sql server:if exists ( select name from sysobjects where name='表名' and type='U' )--or--if object_id('表名','U') is not nulldrop table ...create table ...