标签:sele where 引用 rom lte const from obj 主键
Truncate table Menu --truncate不能对有外键的表 delete Menu delete RoleMenu SELECT * FROM sys.foreign_keys WHERE referenced_object_id=OBJECT_ID(‘Menu‘); --找到引用该表主键的名称 ALTER TABLE dbo.RoleMenu DROP constraint FK_Menu_MenuId --删除外键
标签:sele where 引用 rom lte const from obj 主键
原文地址:https://www.cnblogs.com/enych/p/11926338.html