国家安全局招聘要求:mssql对table操作

来源:百度文库 编辑:杭州交通信息网 时间:2024/05/06 10:37:08
怎样知道一个table是否存在?
怎么删除一个table?

写出SQL语句
谢谢啊

如果表存在则删除

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

drop table?