2012年8月16日

在SQL中判断一个表是否存在

摘要: 转自:http://blog.csdn.net/strugglesword/article/details/3372422 在SQL中判断一个表是否存在create table if not exists a(id varchar(10)); <%sql="if exists (select * from sysobjects where id = object_id(N'[dbo].[phone]') and OBJECTPROPERTY(id, N'IsUserTable') = 1) drop table [dbo].[phone]&quo 阅读全文

posted @ 2012-08-16 15:40 kiao295338444 阅读(1886) 评论(0) 推荐(0) 编辑

导航