梦幻什么掉弱点:mssql对table操作

来源:百度文库 编辑:高考问答 时间:2024/05/10 20:00:37
怎样知道一个table是否存在?
怎么删除一个table?

写出SQL语句
谢谢啊

如果表存在则删除

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

drop table?