DELETE FROM [sSetup].[tCommonOrgGroupBatchMaster]
INSERT INTO [sSetup].[tCommonOrgGroupBatchMaster]([Id],[Code],[Title],[IsObsolete]) VALUES
            (1,	'2020-2021',	'2020-2021',	0),
			(2,	'2019-2020',	'2019-2020',	0),
			(3,	'2018-2019',	'2018-2019',	0);
GO
SELECT * FROM sSetup.tCommonOrgGroupBatchMaster
Update sSetup.tOrgGroupBatchMaster Set CommonOrgGroupBatchId  = Null
Update sSetup.tOrgGroupBatchMaster Set CommonOrgGroupBatchId  = 3 Where Code like '2018%'
Update sSetup.tOrgGroupBatchMaster Set CommonOrgGroupBatchId  = 2 Where Code like '2019%'
Update sSetup.tOrgGroupBatchMaster Set CommonOrgGroupBatchId  = 1 Where Code like '2020%'