种子结构教学反思:mssql对table操作

来源:百度文库 编辑:查人人中国名人网 时间:2024/05/14 01:21:30
怎样知道一个table是否存在?
怎么删除一个table?

写出SQL语句
谢谢啊

如果表存在则删除

if exists(select * from sysobjects where xtype='u' and name='表名')
begin
drop table 表名
end

drop table?