B2022-074 needed to move the drop/creation of vwRofstDat_RofstHeaderStatuses to before the drop/creation of vwRofstData_Rofstheaders
This commit is contained in:
parent
7aaa13ef32
commit
7ad89759de
@ -18136,6 +18136,47 @@ GO
|
|||||||
ELSE PRINT 'View Creation: [vwRofstData_RofstDefaultValues] Error on Creation'
|
ELSE PRINT 'View Creation: [vwRofstData_RofstDefaultValues] Error on Creation'
|
||||||
GO
|
GO
|
||||||
|
|
||||||
|
/****** Object: View [dbo].[vwRofstData_RofstHeaderStatuses] Script Date: 06/23/2022 ******/
|
||||||
|
If Exists(SELECT * FROM sys.objects Where name = 'vwRofstData_RofstHeaderStatuses' AND type in (N'V'))
|
||||||
|
DROP VIEW [dbo].[vwRofstData_RofstHeaderStatuses]
|
||||||
|
GO
|
||||||
|
|
||||||
|
SET ANSI_NULLS ON
|
||||||
|
GO
|
||||||
|
SET QUOTED_IDENTIFIER ON
|
||||||
|
GO
|
||||||
|
|
||||||
|
/*****************************************************************************
|
||||||
|
Volian Enterprises - Proprietary Information - DO NOT COPY OR DISTRIBUTE
|
||||||
|
Copyright 2012 - Volian Enterprises, Inc. All rights reserved.
|
||||||
|
*****************************************************************************/
|
||||||
|
/*
|
||||||
|
==========================================================================================================
|
||||||
|
Author: Jake Ropar
|
||||||
|
Create Date: 05/20/2022
|
||||||
|
Description: (RofstData) Master View for RofstHeader Statuses
|
||||||
|
(0) Unknown (1) Not Loaded (2) In Progress (3) Load Complete (4) Load Failed
|
||||||
|
==========================================================================================================
|
||||||
|
*/
|
||||||
|
Create View [dbo].[vwRofstData_RofstHeaderStatuses]
|
||||||
|
As
|
||||||
|
|
||||||
|
Select '0' as 'RofstHeaderStatusID', 'Unknown' as 'RofstHeaderStatus'
|
||||||
|
Union All
|
||||||
|
Select '1' as 'RofstHeaderStatusID', 'Not Loaded' as 'RofstHeaderStatus'
|
||||||
|
Union All
|
||||||
|
Select '2' as 'RofstHeaderStatusID', 'In Progress' as 'RofstHeaderStatus'
|
||||||
|
Union All
|
||||||
|
Select '3' as 'RofstHeaderStatusID', 'Load Complete' as 'RofstHeaderStatus'
|
||||||
|
Union All
|
||||||
|
Select '4' as 'RofstHeaderStatusID', 'Load Failed' as 'RofstHeaderStatus'
|
||||||
|
|
||||||
|
GO
|
||||||
|
|
||||||
|
IF (@@Error = 0) PRINT 'View Creation: [vwRofstData_RofstHeaderStatuses] Succeeded'
|
||||||
|
ELSE PRINT 'View Creation: [vwRofstData_RofstHeaderStatuses] Error on Creation'
|
||||||
|
GO
|
||||||
|
|
||||||
|
|
||||||
/****** Object: View [dbo].[vwRofstData_RofstHeaders] Script Date: 06/23/2022 ******/
|
/****** Object: View [dbo].[vwRofstData_RofstHeaders] Script Date: 06/23/2022 ******/
|
||||||
If Exists(SELECT * FROM sys.objects Where name = 'vwRofstData_RofstHeaders' AND type in (N'V'))
|
If Exists(SELECT * FROM sys.objects Where name = 'vwRofstData_RofstHeaders' AND type in (N'V'))
|
||||||
@ -18187,47 +18228,6 @@ GO
|
|||||||
GO
|
GO
|
||||||
|
|
||||||
|
|
||||||
/****** Object: View [dbo].[vwRofstData_RofstHeaderStatuses] Script Date: 06/23/2022 ******/
|
|
||||||
If Exists(SELECT * FROM sys.objects Where name = 'vwRofstData_RofstHeaderStatuses' AND type in (N'V'))
|
|
||||||
DROP VIEW [dbo].[vwRofstData_RofstHeaderStatuses]
|
|
||||||
GO
|
|
||||||
|
|
||||||
SET ANSI_NULLS ON
|
|
||||||
GO
|
|
||||||
SET QUOTED_IDENTIFIER ON
|
|
||||||
GO
|
|
||||||
|
|
||||||
/*****************************************************************************
|
|
||||||
Volian Enterprises - Proprietary Information - DO NOT COPY OR DISTRIBUTE
|
|
||||||
Copyright 2012 - Volian Enterprises, Inc. All rights reserved.
|
|
||||||
*****************************************************************************/
|
|
||||||
/*
|
|
||||||
==========================================================================================================
|
|
||||||
Author: Jake Ropar
|
|
||||||
Create Date: 05/20/2022
|
|
||||||
Description: (RofstData) Master View for RofstHeader Statuses
|
|
||||||
(0) Unknown (1) Not Loaded (2) In Progress (3) Load Complete (4) Load Failed
|
|
||||||
==========================================================================================================
|
|
||||||
*/
|
|
||||||
Create View [dbo].[vwRofstData_RofstHeaderStatuses]
|
|
||||||
As
|
|
||||||
|
|
||||||
Select '0' as 'RofstHeaderStatusID', 'Unknown' as 'RofstHeaderStatus'
|
|
||||||
Union All
|
|
||||||
Select '1' as 'RofstHeaderStatusID', 'Not Loaded' as 'RofstHeaderStatus'
|
|
||||||
Union All
|
|
||||||
Select '2' as 'RofstHeaderStatusID', 'In Progress' as 'RofstHeaderStatus'
|
|
||||||
Union All
|
|
||||||
Select '3' as 'RofstHeaderStatusID', 'Load Complete' as 'RofstHeaderStatus'
|
|
||||||
Union All
|
|
||||||
Select '4' as 'RofstHeaderStatusID', 'Load Failed' as 'RofstHeaderStatus'
|
|
||||||
|
|
||||||
GO
|
|
||||||
|
|
||||||
IF (@@Error = 0) PRINT 'View Creation: [vwRofstData_RofstHeaderStatuses] Succeeded'
|
|
||||||
ELSE PRINT 'View Creation: [vwRofstData_RofstHeaderStatuses] Error on Creation'
|
|
||||||
GO
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -20085,8 +20085,8 @@ BEGIN TRY -- Try Block
|
|||||||
DECLARE @RevDate varchar(255)
|
DECLARE @RevDate varchar(255)
|
||||||
DECLARE @RevDescription varchar(255)
|
DECLARE @RevDescription varchar(255)
|
||||||
|
|
||||||
set @RevDate = '06/22/2022 5:30 PM'
|
set @RevDate = '07/12/2022 11:15 AM'
|
||||||
set @RevDescription = 'ROFST Lookup / Memory Fixes (v2.0) -> [B2022-026 RO Memory reduction coding (Jakes Merge)]'
|
set @RevDescription = 'ROFST Lookup / Memory Fixes (v2.0) - New procedures for Reduction of Memory Use'
|
||||||
|
|
||||||
Select cast(@RevDate as datetime) RevDate, @RevDescription RevDescription
|
Select cast(@RevDate as datetime) RevDate, @RevDescription RevDescription
|
||||||
PRINT 'SQL Code Revision ' + @RevDate + ' - ' + @RevDescription
|
PRINT 'SQL Code Revision ' + @RevDate + ' - ' + @RevDescription
|
||||||
|
@ -18136,6 +18136,47 @@ GO
|
|||||||
ELSE PRINT 'View Creation: [vwRofstData_RofstDefaultValues] Error on Creation'
|
ELSE PRINT 'View Creation: [vwRofstData_RofstDefaultValues] Error on Creation'
|
||||||
GO
|
GO
|
||||||
|
|
||||||
|
/****** Object: View [dbo].[vwRofstData_RofstHeaderStatuses] Script Date: 06/23/2022 ******/
|
||||||
|
If Exists(SELECT * FROM sys.objects Where name = 'vwRofstData_RofstHeaderStatuses' AND type in (N'V'))
|
||||||
|
DROP VIEW [dbo].[vwRofstData_RofstHeaderStatuses]
|
||||||
|
GO
|
||||||
|
|
||||||
|
SET ANSI_NULLS ON
|
||||||
|
GO
|
||||||
|
SET QUOTED_IDENTIFIER ON
|
||||||
|
GO
|
||||||
|
|
||||||
|
/*****************************************************************************
|
||||||
|
Volian Enterprises - Proprietary Information - DO NOT COPY OR DISTRIBUTE
|
||||||
|
Copyright 2012 - Volian Enterprises, Inc. All rights reserved.
|
||||||
|
*****************************************************************************/
|
||||||
|
/*
|
||||||
|
==========================================================================================================
|
||||||
|
Author: Jake Ropar
|
||||||
|
Create Date: 05/20/2022
|
||||||
|
Description: (RofstData) Master View for RofstHeader Statuses
|
||||||
|
(0) Unknown (1) Not Loaded (2) In Progress (3) Load Complete (4) Load Failed
|
||||||
|
==========================================================================================================
|
||||||
|
*/
|
||||||
|
Create View [dbo].[vwRofstData_RofstHeaderStatuses]
|
||||||
|
As
|
||||||
|
|
||||||
|
Select '0' as 'RofstHeaderStatusID', 'Unknown' as 'RofstHeaderStatus'
|
||||||
|
Union All
|
||||||
|
Select '1' as 'RofstHeaderStatusID', 'Not Loaded' as 'RofstHeaderStatus'
|
||||||
|
Union All
|
||||||
|
Select '2' as 'RofstHeaderStatusID', 'In Progress' as 'RofstHeaderStatus'
|
||||||
|
Union All
|
||||||
|
Select '3' as 'RofstHeaderStatusID', 'Load Complete' as 'RofstHeaderStatus'
|
||||||
|
Union All
|
||||||
|
Select '4' as 'RofstHeaderStatusID', 'Load Failed' as 'RofstHeaderStatus'
|
||||||
|
|
||||||
|
GO
|
||||||
|
|
||||||
|
IF (@@Error = 0) PRINT 'View Creation: [vwRofstData_RofstHeaderStatuses] Succeeded'
|
||||||
|
ELSE PRINT 'View Creation: [vwRofstData_RofstHeaderStatuses] Error on Creation'
|
||||||
|
GO
|
||||||
|
|
||||||
|
|
||||||
/****** Object: View [dbo].[vwRofstData_RofstHeaders] Script Date: 06/23/2022 ******/
|
/****** Object: View [dbo].[vwRofstData_RofstHeaders] Script Date: 06/23/2022 ******/
|
||||||
If Exists(SELECT * FROM sys.objects Where name = 'vwRofstData_RofstHeaders' AND type in (N'V'))
|
If Exists(SELECT * FROM sys.objects Where name = 'vwRofstData_RofstHeaders' AND type in (N'V'))
|
||||||
@ -18187,47 +18228,6 @@ GO
|
|||||||
GO
|
GO
|
||||||
|
|
||||||
|
|
||||||
/****** Object: View [dbo].[vwRofstData_RofstHeaderStatuses] Script Date: 06/23/2022 ******/
|
|
||||||
If Exists(SELECT * FROM sys.objects Where name = 'vwRofstData_RofstHeaderStatuses' AND type in (N'V'))
|
|
||||||
DROP VIEW [dbo].[vwRofstData_RofstHeaderStatuses]
|
|
||||||
GO
|
|
||||||
|
|
||||||
SET ANSI_NULLS ON
|
|
||||||
GO
|
|
||||||
SET QUOTED_IDENTIFIER ON
|
|
||||||
GO
|
|
||||||
|
|
||||||
/*****************************************************************************
|
|
||||||
Volian Enterprises - Proprietary Information - DO NOT COPY OR DISTRIBUTE
|
|
||||||
Copyright 2012 - Volian Enterprises, Inc. All rights reserved.
|
|
||||||
*****************************************************************************/
|
|
||||||
/*
|
|
||||||
==========================================================================================================
|
|
||||||
Author: Jake Ropar
|
|
||||||
Create Date: 05/20/2022
|
|
||||||
Description: (RofstData) Master View for RofstHeader Statuses
|
|
||||||
(0) Unknown (1) Not Loaded (2) In Progress (3) Load Complete (4) Load Failed
|
|
||||||
==========================================================================================================
|
|
||||||
*/
|
|
||||||
Create View [dbo].[vwRofstData_RofstHeaderStatuses]
|
|
||||||
As
|
|
||||||
|
|
||||||
Select '0' as 'RofstHeaderStatusID', 'Unknown' as 'RofstHeaderStatus'
|
|
||||||
Union All
|
|
||||||
Select '1' as 'RofstHeaderStatusID', 'Not Loaded' as 'RofstHeaderStatus'
|
|
||||||
Union All
|
|
||||||
Select '2' as 'RofstHeaderStatusID', 'In Progress' as 'RofstHeaderStatus'
|
|
||||||
Union All
|
|
||||||
Select '3' as 'RofstHeaderStatusID', 'Load Complete' as 'RofstHeaderStatus'
|
|
||||||
Union All
|
|
||||||
Select '4' as 'RofstHeaderStatusID', 'Load Failed' as 'RofstHeaderStatus'
|
|
||||||
|
|
||||||
GO
|
|
||||||
|
|
||||||
IF (@@Error = 0) PRINT 'View Creation: [vwRofstData_RofstHeaderStatuses] Succeeded'
|
|
||||||
ELSE PRINT 'View Creation: [vwRofstData_RofstHeaderStatuses] Error on Creation'
|
|
||||||
GO
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -20085,8 +20085,8 @@ BEGIN TRY -- Try Block
|
|||||||
DECLARE @RevDate varchar(255)
|
DECLARE @RevDate varchar(255)
|
||||||
DECLARE @RevDescription varchar(255)
|
DECLARE @RevDescription varchar(255)
|
||||||
|
|
||||||
set @RevDate = '06/22/2022 5:30 PM'
|
set @RevDate = '07/12/2022 11:15 AM'
|
||||||
set @RevDescription = 'ROFST Lookup / Memory Fixes (v2.0) -> [B2022-026 RO Memory reduction coding (Jakes Merge)]'
|
set @RevDescription = 'ROFST Lookup / Memory Fixes (v2.0) - New procedures for Reduction of Memory Use'
|
||||||
|
|
||||||
Select cast(@RevDate as datetime) RevDate, @RevDescription RevDescription
|
Select cast(@RevDate as datetime) RevDate, @RevDescription RevDescription
|
||||||
PRINT 'SQL Code Revision ' + @RevDate + ' - ' + @RevDescription
|
PRINT 'SQL Code Revision ' + @RevDate + ' - ' + @RevDescription
|
||||||
|
Loading…
x
Reference in New Issue
Block a user