MS Sql怎样实现此语句:如果表存在,则删除 我知道在Oracle中是,drop table if exists XXX 在Ms sql中呢?好像不支持exists关键字呀 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 if object_id('[tb]') is not null drop table [tb]go if exists(select * from dbo.sysobjects where id=object_id(N'tb')and OBJECTPROPERTY(id, N'IsUserTable ')=1) drop table tb if object_id('[tb]') is not null drop table [tb]go sqlserveragent无法启动。 请问一下 sql server 2000中如何将大量文本写入数据库 大家帮我看看这Javascript 语法 求高手解决 mysql order by 存在外键关系的记录删除问题? 请教一个sql难题!! sql 中代替 in(...) 的写法.....................等.... SQL Server中的基本问题 请教:sp_attach_db能否将繁体数据库加入简体操作系统的SQL中? vb+sql2000操作时提示不能更新 数据库为只读 ? 求教:sql 事务不回滚 不出错
drop table [tb]
go
and OBJECTPROPERTY(id, N'IsUserTable ')=1)
drop table tb
drop table [tb]
go