03 2022 档案
摘要:执行下面语句可以恢复,但是好像会丢一点数据。 USE 数据库名 GO ALTER DATABASE 数据库名 SET EMERGENCY; GO ALTER DATABASE 数据库名SET SINGLE_USER; GO DBCC CHECKDB (数据库名, REPAIR_ALLOW_DATA_
阅读全文
摘要:select object_name(id) objName,Name as colName from syscolumns where (name like'%字段%') and id in(select id from sysobjects where xtype='u') order by o
阅读全文