标签:cts object_id lse rop ble tab sts 存在 where
mysql:
drop table if exists address_book
sqlserver2005:
IF EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N‘[dbo].[表名]‘) AND type in (N‘U‘))
DROP TABLE [dbo].[表名]
标签:cts object_id lse rop ble tab sts 存在 where
原文地址:https://www.cnblogs.com/furenjian/p/sqlserver.html