Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

psp-8586 auto-format corrections. #4082

Merged
merged 2 commits into from
Jun 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading