@@ -206,7 +206,10 @@ INSERT INTO tblControls(FieldName, Adjustibility, Usage)
206
206
VALUES (N ' Vulnerability' , N ' O' , N ' Insuree, Family' )
207
207
GO
208
208
209
- DROP PROCEDURE uspImportOffLineExtract4
209
+ IF OBJECT_ID (' uspImportOffLineExtract4' ) IS NOT NULL
210
+ BEGIN
211
+ DROP PROCEDURE uspImportOffLineExtract4
212
+ END
210
213
GO
211
214
212
215
DROP TYPE [dbo].[xInsuree]
@@ -1056,7 +1059,9 @@ BEGIN CATCH
1056
1059
END CATCH
1057
1060
1058
1061
IF OBJECT_ID (' uspIndexRebuild' , ' P' ) IS NOT NULL
1062
+ BEGIN
1059
1063
DROP PROCEDURE uspIndexRebuild
1064
+ END
1060
1065
GO
1061
1066
1062
1067
SET ANSI_NULLS ON
1125
1130
1126
1131
-- OP-280: FIX MISSING DETAILS (ONLY REJECTED SHOWED) - otc-45 RELATED
1127
1132
IF OBJECT_ID (' uspSSRSPremiumCollection' , ' P' ) IS NOT NULL
1133
+ BEGIN
1128
1134
DROP PROCEDURE uspSSRSPremiumCollection
1135
+ END
1129
1136
GO
1130
1137
1131
1138
CREATE PROCEDURE [dbo].[uspSSRSPremiumCollection]
@@ -1169,7 +1176,9 @@ ALTER TABLE tblInsuree ALTER COLUMN [FamilyID] [int] NULL
1169
1176
GO
1170
1177
1171
1178
IF OBJECT_ID (' uspSSRSProductSales' , ' P' ) IS NOT NULL
1179
+ BEGIN
1172
1180
DROP PROCEDURE uspSSRSProductSales
1181
+ END
1173
1182
GO
1174
1183
1175
1184
CREATE PROCEDURE [dbo].[uspSSRSProductSales]
1199
1208
GO
1200
1209
1201
1210
IF OBJECT_ID (' uspSSRSFeedbackPrompt' , ' P' ) IS NOT NULL
1211
+ BEGIN
1202
1212
DROP PROCEDURE uspSSRSFeedbackPrompt
1213
+ END
1203
1214
GO
1204
1215
1205
1216
CREATE PROCEDURE [dbo].[uspSSRSFeedbackPrompt]
1253
1264
1254
1265
1255
1266
IF OBJECT_ID (' uspSSRSPrimaryIndicators1' , ' P' ) IS NOT NULL
1267
+ BEGIN
1256
1268
DROP PROCEDURE uspSSRSPrimaryIndicators1
1269
+ END
1257
1270
GO
1258
1271
1259
1272
CREATE PROCEDURE [dbo].[uspSSRSPrimaryIndicators1]
@@ -1417,7 +1430,9 @@ END
1417
1430
GO
1418
1431
1419
1432
IF OBJECT_ID (' uspSSRSPrimaryIndicators2' , ' P' ) IS NOT NULL
1433
+ BEGIN
1420
1434
DROP PROCEDURE uspSSRSPrimaryIndicators2
1435
+ END
1421
1436
GO
1422
1437
1423
1438
CREATE PROCEDURE [dbo].[uspSSRSPrimaryIndicators2]
@@ -1504,7 +1519,9 @@ END
1504
1519
GO
1505
1520
1506
1521
IF OBJECT_ID (' uspSSRSDerivedIndicators1' , ' P' ) IS NOT NULL
1522
+ BEGIN
1507
1523
DROP PROCEDURE uspSSRSDerivedIndicators1
1524
+ END
1508
1525
GO
1509
1526
1510
1527
CREATE PROCEDURE [dbo].[uspSSRSDerivedIndicators1]
@@ -1613,7 +1630,9 @@ END
1613
1630
GO
1614
1631
1615
1632
IF OBJECT_ID (' uspSSRSDerivedIndicators2' , ' P' ) IS NOT NULL
1633
+ BEGIN
1616
1634
DROP PROCEDURE uspSSRSDerivedIndicators2
1635
+ END
1617
1636
GO
1618
1637
1619
1638
CREATE PROCEDURE [dbo].[uspSSRSDerivedIndicators2]
2526
2545
IF OBJECT_ID (' [uspLastDateForPayment]' , ' P' ) IS NOT NULL
2527
2546
DROP PROCEDURE [uspLastDateForPayment]
2528
2547
GO
2548
+
2529
2549
CREATE PROCEDURE [dbo].[uspLastDateForPayment]
2530
2550
(
2531
2551
@PolicyId INT
2699
2719
IF OBJECT_ID (' uspPhoneExtract' , ' P' ) IS NOT NULL
2700
2720
DROP PROCEDURE uspPhoneExtract
2701
2721
GO
2722
+
2702
2723
CREATE PROCEDURE [dbo].[uspPhoneExtract]
2703
2724
(
2704
2725
@LocationId int = 0
2980
3001
IF OBJECT_ID (' uspCreateEnrolmentXML' , ' P' ) IS NOT NULL
2981
3002
DROP PROCEDURE uspCreateEnrolmentXML
2982
3003
GO
3004
+
2983
3005
CREATE PROCEDURE [dbo].[uspCreateEnrolmentXML]
2984
3006
(
2985
3007
@FamilyExported INT = 0 OUTPUT ,
@@ -3717,6 +3739,7 @@ IF NOT EXISTS(SELECT 1 FROM sys.indexes WHERE Name = N'NCI_tblClaim_DateProcesse
3717
3739
(
3718
3740
[DateProcessed] ASC
3719
3741
)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
+
3720
3743
GO
3721
3744
3722
3745
-- OTC-941
0 commit comments