摘要: 从网上找到了下面一段代码:declare @Pk varchar(100);select @Pk=Name from sysobjects where Parent_Obj=OBJECT_ID('表名') and xtype='PK';if @Pk is not nullbegin exec(... 阅读全文
posted @ 2015-06-30 16:32 快乐菠菜 阅读(677) 评论(1) 推荐(0) 编辑