SQL Queryfrom Suspect mode to normal

SQL Queryfrom Suspect mode to normal

 ***************************** Internal to Citixsys Support Team*********************************

Environment : 

iVend 6.6 7989 with SAPB1

Problem Statement :  

iVend database got Suspect Mode and there is need to move to Normal Mode.

Note : It should be discussed with Level 3 team first before using this one

SQL Queries : 


Option 1:

EXEC sp_resetstatus 'yourDBname';
ALTER DATABASE yourDBname SET EMERGENCY
DBCC checkdb('yourDBname')
ALTER DATABASE yourDBname SET SINGLE_USER WITH ROLLBACK IMMEDIATE
DBCC CheckDB ('yourDBname', REPAIR_ALLOW_DATA_LOSS)
ALTER DATABASE yourDBname SET MULTI_USER

 Option 2:

--to return to multi-user mode:
ALTER DATABASE 'yourDBname';

SET MULTI_USER Use database_name
GO

ALTER DATABASE database_name SET SINGLE_USER

GO

DBCC CHECKDB('database_name', REPAIR_REBUILD)
GO

--to return to multi-user mode:
ALTER DATABASE <database-name> SET MULTI_USER


    • Related Articles

    • Change from Mixed Mode to Separate Store

      ------------------This article is for only internal use ------------------------ Product version: iVend 6.6 with SAPB1. Problem statement: A Store was created in mixed mode however it was required to be created as Separate Mode Store Proposed ...
    • compatibility version SAP & SQL Version

      Product Query Customer currently using the SQL version 2016 in HO and stores in 2008 express . SQL 2019 and higher version will support ivend 6.6? SAP Version 10 and Pl 2405 and higher PL version will compatible with ivend integration ? Answer As per ...
    • POS - Transaction mode change event

      Introduction iVend Add-on Framework is used for writing Custom Business Logic independently by a programmer. iVend Addon allows to extend business logic either in Management Console or at the Terminal POS.The addon framework allows deployment of ...
    • POS - Transaction mode change event

      Introduction: iVend Add-on Framework is used for writing Custom Business Logic independently by a programmer. iVend Addon allows to extend business logic either in Management Console or at the Terminal POS. The addon framework allows deployment of ...
    • SAP Business One Gross Mode compatible with iVend

      Environment : Ivend reatail-6.6 Symptoms: SAP Business One Gross Mode compatible with iVend Problem Statement: Is SAP Business One Gross Mode compatible with iVend ? Resolution/Work Around: SAP Business One Gross Mode is not compatible with iVend , ...