added files from swmgmt03

This commit is contained in:
Schork Thierry (Galenica - ADM)
2025-09-22 09:00:00 +02:00
parent de97031b1e
commit 63d058a7eb
67 changed files with 13300 additions and 1 deletions

View File

@@ -0,0 +1,16 @@
/*
adapt the db name and execute each of those steps manually
if data corruption have occured, restoring a backup might need necessary
*/
return
ALTER DATABASE activepos_read SET EMERGENCY;
dbcc checkdb('activepos_read') WITH ALL_ERRORMSGS, NO_INFOMSGS
ALTER DATABASE activepos_read SET single_user with rollback immediate;
dbcc checkdb ('activepos_read',repair_allow_data_loss)
ALTER DATABASE activepos_read SET multi_user with rollback immediate;