Thursday, October 31, 2024

็How to repair table script sql by dbcc checktable

 USE KMx10

GO

ALTER DATABASE KMx10 SET SINGLE_USER WITH ROLLBACK IMMEDIATE;

GO

DBCC CHECKTABLE (N'job',REPAIR_REBUILD) WITH NO_INFOMSGS, ALL_ERRORMSGS;

GO

ALTER DATABASE KMx10 SET MULTI_USER;

No comments:

Post a Comment

how to query infor wms on Infor Data Lake

  how to query infor wms on Infor Data Lake don't forget to enable data lake in infor wms configuration first.