Skip to content

Commit

Permalink
psp-8586 auto-format corrections. (#4082)
Browse files Browse the repository at this point in the history
  • Loading branch information
devinleighsmith authored Jun 5, 2024
1 parent 5724415 commit 72b89f9
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ SET
GO
BEGIN TRANSACTION
GO
IF @ @ERROR <> 0
IF @@ERROR <> 0
SET
NOEXEC ON
GO
Expand All @@ -28,7 +28,7 @@ FROM
WHERE
DISPOSITION_FILE_STATUS_TYPE_CODE = @CurrCd;

IF @ @ROWCOUNT = 1 BEGIN
IF @@ROWCOUNT = 1 BEGIN
UPDATE
PIMS_DISPOSITION_FILE_STATUS_TYPE
SET
Expand All @@ -39,13 +39,13 @@ WHERE

END
GO
IF @ @ERROR <> 0
IF @@ERROR <> 0
SET
NOEXEC ON
GO
COMMIT TRANSACTION
GO
IF @ @ERROR <> 0
IF @@ERROR <> 0
SET
NOEXEC ON
GO
Expand All @@ -54,6 +54,6 @@ SET
@Success = 1
SET
NOEXEC OFF IF (@Success = 1) PRINT 'The database update succeeded'
ELSE BEGIN IF @ @TRANCOUNT > 0 ROLLBACK TRANSACTION PRINT 'The database update failed'
ELSE BEGIN IF @@TRANCOUNT > 0 ROLLBACK TRANSACTION PRINT 'The database update failed'
END
GO
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ SET
GO
BEGIN TRANSACTION
GO
IF @ @ERROR <> 0
IF @@ERROR <> 0
SET
NOEXEC ON
GO
Expand All @@ -28,7 +28,7 @@ FROM
WHERE
DISPOSITION_FILE_STATUS_TYPE_CODE = @CurrCd;

IF @ @ROWCOUNT = 1 BEGIN
IF @@ROWCOUNT = 1 BEGIN
UPDATE
PIMS_DISPOSITION_FILE_STATUS_TYPE
SET
Expand All @@ -39,13 +39,13 @@ WHERE

END
GO
IF @ @ERROR <> 0
IF @@ERROR <> 0
SET
NOEXEC ON
GO
COMMIT TRANSACTION
GO
IF @ @ERROR <> 0
IF @@ERROR <> 0
SET
NOEXEC ON
GO
Expand All @@ -54,6 +54,6 @@ SET
@Success = 1
SET
NOEXEC OFF IF (@Success = 1) PRINT 'The database update succeeded'
ELSE BEGIN IF @ @TRANCOUNT > 0 ROLLBACK TRANSACTION PRINT 'The database update failed'
ELSE BEGIN IF @@TRANCOUNT > 0 ROLLBACK TRANSACTION PRINT 'The database update failed'
END
GO

0 comments on commit 72b89f9

Please sign in to comment.