日期:2014-05-17 浏览次数:20951 次
if object_id('表名') is not null drop table 表名
------解决方案--------------------
MySQL?
DROP TABLE IF EXISTS `表名`;
------解决方案--------------------
if object_id('表名') is not null
drop table 表名
go
create table tab(col1 varchar(10),col2 varchar(10))
insert into tab
select... union all
select ...
...