首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 数据库 > 其他数据库 >

判断表是不是存在,存在则删除

2012-09-24 
判断表是否存在,存在则删除if exists (select 1 from sysobjects where id object_id(student_info) a

判断表是否存在,存在则删除
if exists (select 1 from sysobjects where id = object_id('student_info') and type = 'U')drop table student_infogo

热点排行