Skip to content

Commit f8c2e1d

Browse files
authored
Merge branch 'main' into develop
2 parents 95247a4 + 142893d commit f8c2e1d

File tree

1 file changed

+24
-1
lines changed

1 file changed

+24
-1
lines changed

sql/migrations/1_migration_latest.sql

+24-1
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,10 @@ INSERT INTO tblControls(FieldName, Adjustibility, Usage)
206206
VALUES(N'Vulnerability', N'O', N'Insuree, Family')
207207
GO
208208

209-
DROP PROCEDURE uspImportOffLineExtract4
209+
IF OBJECT_ID('uspImportOffLineExtract4') IS NOT NULL
210+
BEGIN
211+
DROP PROCEDURE uspImportOffLineExtract4
212+
END
210213
GO
211214

212215
DROP TYPE [dbo].[xInsuree]
@@ -1056,7 +1059,9 @@ BEGIN CATCH
10561059
END CATCH
10571060

10581061
IF OBJECT_ID('uspIndexRebuild', 'P') IS NOT NULL
1062+
BEGIN
10591063
DROP PROCEDURE uspIndexRebuild
1064+
END
10601065
GO
10611066

10621067
SET ANSI_NULLS ON
@@ -1125,7 +1130,9 @@ GO
11251130

11261131
-- OP-280: FIX MISSING DETAILS (ONLY REJECTED SHOWED) - otc-45 RELATED
11271132
IF OBJECT_ID('uspSSRSPremiumCollection', 'P') IS NOT NULL
1133+
BEGIN
11281134
DROP PROCEDURE uspSSRSPremiumCollection
1135+
END
11291136
GO
11301137

11311138
CREATE PROCEDURE [dbo].[uspSSRSPremiumCollection]
@@ -1169,7 +1176,9 @@ ALTER TABLE tblInsuree ALTER COLUMN [FamilyID] [int] NULL
11691176
GO
11701177

11711178
IF OBJECT_ID('uspSSRSProductSales', 'P') IS NOT NULL
1179+
BEGIN
11721180
DROP PROCEDURE uspSSRSProductSales
1181+
END
11731182
GO
11741183

11751184
CREATE PROCEDURE [dbo].[uspSSRSProductSales]
@@ -1199,7 +1208,9 @@ GO
11991208
GO
12001209

12011210
IF OBJECT_ID('uspSSRSFeedbackPrompt', 'P') IS NOT NULL
1211+
BEGIN
12021212
DROP PROCEDURE uspSSRSFeedbackPrompt
1213+
END
12031214
GO
12041215

12051216
CREATE PROCEDURE [dbo].[uspSSRSFeedbackPrompt]
@@ -1253,7 +1264,9 @@ GO
12531264

12541265

12551266
IF OBJECT_ID('uspSSRSPrimaryIndicators1', 'P') IS NOT NULL
1267+
BEGIN
12561268
DROP PROCEDURE uspSSRSPrimaryIndicators1
1269+
END
12571270
GO
12581271

12591272
CREATE PROCEDURE [dbo].[uspSSRSPrimaryIndicators1]
@@ -1417,7 +1430,9 @@ END
14171430
GO
14181431

14191432
IF OBJECT_ID('uspSSRSPrimaryIndicators2', 'P') IS NOT NULL
1433+
BEGIN
14201434
DROP PROCEDURE uspSSRSPrimaryIndicators2
1435+
END
14211436
GO
14221437

14231438
CREATE PROCEDURE [dbo].[uspSSRSPrimaryIndicators2]
@@ -1504,7 +1519,9 @@ END
15041519
GO
15051520

15061521
IF OBJECT_ID('uspSSRSDerivedIndicators1', 'P') IS NOT NULL
1522+
BEGIN
15071523
DROP PROCEDURE uspSSRSDerivedIndicators1
1524+
END
15081525
GO
15091526

15101527
CREATE PROCEDURE [dbo].[uspSSRSDerivedIndicators1]
@@ -1613,7 +1630,9 @@ END
16131630
GO
16141631

16151632
IF OBJECT_ID('uspSSRSDerivedIndicators2', 'P') IS NOT NULL
1633+
BEGIN
16161634
DROP PROCEDURE uspSSRSDerivedIndicators2
1635+
END
16171636
GO
16181637

16191638
CREATE PROCEDURE [dbo].[uspSSRSDerivedIndicators2]
@@ -2526,6 +2545,7 @@ GO
25262545
IF OBJECT_ID('[uspLastDateForPayment]', 'P') IS NOT NULL
25272546
DROP PROCEDURE [uspLastDateForPayment]
25282547
GO
2548+
25292549
CREATE PROCEDURE [dbo].[uspLastDateForPayment]
25302550
(
25312551
@PolicyId INT
@@ -2699,6 +2719,7 @@ GO
26992719
IF OBJECT_ID('uspPhoneExtract', 'P') IS NOT NULL
27002720
DROP PROCEDURE uspPhoneExtract
27012721
GO
2722+
27022723
CREATE PROCEDURE [dbo].[uspPhoneExtract]
27032724
(
27042725
@LocationId int = 0
@@ -2980,6 +3001,7 @@ GO
29803001
IF OBJECT_ID('uspCreateEnrolmentXML', 'P') IS NOT NULL
29813002
DROP PROCEDURE uspCreateEnrolmentXML
29823003
GO
3004+
29833005
CREATE PROCEDURE [dbo].[uspCreateEnrolmentXML]
29843006
(
29853007
@FamilyExported INT = 0 OUTPUT,
@@ -3717,6 +3739,7 @@ IF NOT EXISTS(SELECT 1 FROM sys.indexes WHERE Name = N'NCI_tblClaim_DateProcesse
37173739
(
37183740
[DateProcessed] ASC
37193741
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON, FILLFACTOR = 80)
3742+
37203743
GO
37213744

37223745
--OTC-941

0 commit comments

Comments
 (0)