摘要:
--启用or禁用指定表所有外键约束 alter table tbname NOCHECK constraint all alter table tbname CHECK constraint all --查看约束 select name , is_disabled from sys.foreign_ 阅读全文
摘要:
use [数据库名] select last_execution_time '最近一次执行时间' from sys.dm_exec_procedure_stats where type='P' and database_id=db_id('[数据库名]') and object_id=object_ 阅读全文