select name as dropname from sysobjects where xtype='D' and parent_obj=(select id from sysobjects where name='table_name' and xtype='U') and id in (select cdefault from syscolumns where name='column_nane')我是这样写的,执行结果没问题,大家有没有更好的方法?
调试欢乐多
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货