一个急待删除的表需要人指点一下. if object_id('表名') is not null drop table 表名 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 if exists (select 1 from sysobjects where name = 'yourtable' and type = 'u') drop table yourtable if exists (select name from sysobjects where name ='yourtable' and type = 'u') drop table yourtable 假设表名为t_001if exists (select * from dbo.sysobjects where id = object_id(N'[t_001]') and OBJECTPROPERTY(id, N'IsUserTable') = 1)drop table [t_001]GO 在企业管理器中,你可以右键-->任意表-->生成sql脚本,生成sql脚本后你可以看到完整的生成表的sql语句 电脑小白 新手求解答,谢谢 SQL 2000中自定义函数拆分字段,返回值的问题 大数据量不能同步复制 关于这个SQL的优化,大家讨论一下吧 如何取一个字符中的数字, A SQL Analysis Service error Ensure that 'SQL Browser' service is running. 问个存储过程的问题 菜鸟提问:有关xx编号问题 求助:谁帮我写一个存储过程~~急 从数据类型 nvarchar 转换为 float 时出错 MS sqlserver 能否把数据库建立到虚拟路径上面 sql server 链接服务器问题
drop table yourtable
drop table yourtable
drop table [t_001]
GO