Corrected Stored Procedure definitions that were using the default schema

This commit is contained in:
Rich 2017-09-15 12:26:42 +00:00
parent 4d83b0e455
commit 4a7ae53502

View File

@ -5628,13 +5628,14 @@ dbo.vesp_WillTransitionsBeValid 10616,'2'
*/ */
/***************************************************************************** /*****************************************************************************
Volian Enterprises - Proprietary Information - DO NOT COPY OR DISTRIBUTE Volian Enterprises - Proprietary Information - DO NOT COPY OR DISTRIBUTE
Copyright 2012 - Volian Enterprises, Inc. All rights reserved. Copyright 2017 - Volian Enterprises, Inc. All rights reserved.
*****************************************************************************/ *****************************************************************************/
CREATE PROCEDURE vesp_WillTransitionsBeValid CREATE PROCEDURE [DBO].[vesp_WillTransitionsBeValid]
( (
@ItemID int, @ItemID int,
@NewAppl varchar(max) @NewAppl varchar(max)
) )
WITH EXECUTE AS OWNER
AS BEGIN AS BEGIN
select *, dbo.ve_GetShortPath(@ItemID) SrcStep, dbo.ve_GetShortPath(myitemid) TgtStep select *, dbo.ve_GetShortPath(@ItemID) SrcStep, dbo.ve_GetShortPath(myitemid) TgtStep
from from
@ -7513,9 +7514,9 @@ GO
/***************************************************************************** /*****************************************************************************
Volian Enterprises - Proprietary Information - DO NOT COPY OR DISTRIBUTE Volian Enterprises - Proprietary Information - DO NOT COPY OR DISTRIBUTE
Copyright 2012 - Volian Enterprises, Inc. All rights reserved. Copyright 2017 - Volian Enterprises, Inc. All rights reserved.
*****************************************************************************/ *****************************************************************************/
CREATE PROCEDURE vesp_SessionPing CREATE PROCEDURE [dbo].[vesp_SessionPing]
( (
@SessionID int @SessionID int
) )
@ -7538,9 +7539,9 @@ GO
/***************************************************************************** /*****************************************************************************
Volian Enterprises - Proprietary Information - DO NOT COPY OR DISTRIBUTE Volian Enterprises - Proprietary Information - DO NOT COPY OR DISTRIBUTE
Copyright 2012 - Volian Enterprises, Inc. All rights reserved. Copyright 2017 - Volian Enterprises, Inc. All rights reserved.
*****************************************************************************/ *****************************************************************************/
CREATE PROCEDURE vesp_SessionEnd CREATE PROCEDURE [dbo].[vesp_SessionEnd]
( (
@SessionID int @SessionID int
) )
@ -8497,7 +8498,11 @@ GO
SET QUOTED_IDENTIFIER ON SET QUOTED_IDENTIFIER ON
GO GO
create function vefn_CompareROIDs (@roid1 varchar(16), @roid2 varchar(16)) /*****************************************************************************
Volian Enterprises - Proprietary Information - DO NOT COPY OR DISTRIBUTE
Copyright 2017 - Volian Enterprises, Inc. All rights reserved.
*****************************************************************************/
create function [DBO].[vefn_CompareROIDs] (@roid1 varchar(16), @roid2 varchar(16))
returns int returns int
as begin as begin
declare @len1 int declare @len1 int
@ -9529,7 +9534,7 @@ GO
/***************************************************************************** /*****************************************************************************
Volian Enterprises - Proprietary Information - DO NOT COPY OR DISTRIBUTE Volian Enterprises - Proprietary Information - DO NOT COPY OR DISTRIBUTE
Copyright 2012 - Volian Enterprises, Inc. All rights reserved. Copyright 2017 - Volian Enterprises, Inc. All rights reserved.
*****************************************************************************/ *****************************************************************************/
/****** Object: StoredProcedure [dbo].[vesp_GetFormatVersions] Script Date: 1/7/2015 6:15:17 PM ******/ /****** Object: StoredProcedure [dbo].[vesp_GetFormatVersions] Script Date: 1/7/2015 6:15:17 PM ******/
SET ANSI_NULLS ON SET ANSI_NULLS ON
@ -9537,7 +9542,7 @@ GO
SET QUOTED_IDENTIFIER ON SET QUOTED_IDENTIFIER ON
GO GO
CREATE PROCEDURE vesp_GetFormatVersions CREATE PROCEDURE [dbo].[vesp_GetFormatVersions]
WITH EXECUTE AS OWNER WITH EXECUTE AS OWNER
AS AS
BEGIN BEGIN
@ -9562,7 +9567,7 @@ GO
/***************************************************************************** /*****************************************************************************
Volian Enterprises - Proprietary Information - DO NOT COPY OR DISTRIBUTE Volian Enterprises - Proprietary Information - DO NOT COPY OR DISTRIBUTE
Copyright 2012 - Volian Enterprises, Inc. All rights reserved. Copyright 2017 - Volian Enterprises, Inc. All rights reserved.
*****************************************************************************/ *****************************************************************************/
/****** Object: StoredProcedure [dbo].[vesp_GetTranTypesByFormatID] Script Date: 1/7/2015 6:15:17 PM ******/ /****** Object: StoredProcedure [dbo].[vesp_GetTranTypesByFormatID] Script Date: 1/7/2015 6:15:17 PM ******/
SET ANSI_NULLS ON SET ANSI_NULLS ON
@ -9573,7 +9578,7 @@ GO
/* /*
vesp_GetTranTypesByFormatID 102 vesp_GetTranTypesByFormatID 102
*/ */
CREATE PROCEDURE vesp_GetTranTypesByFormatID CREATE PROCEDURE [dbo].[vesp_GetTranTypesByFormatID]
( (
@FormatID int @FormatID int
) )
@ -9623,7 +9628,7 @@ GO
/***************************************************************************** /*****************************************************************************
Volian Enterprises - Proprietary Information - DO NOT COPY OR DISTRIBUTE Volian Enterprises - Proprietary Information - DO NOT COPY OR DISTRIBUTE
Copyright 2012 - Volian Enterprises, Inc. All rights reserved. Copyright 2017 - Volian Enterprises, Inc. All rights reserved.
*****************************************************************************/ *****************************************************************************/
/****** Object: StoredProcedure [dbo].[vesp_GetTransitionReportData] Script Date: 1/7/2015 6:15:17 PM ******/ /****** Object: StoredProcedure [dbo].[vesp_GetTransitionReportData] Script Date: 1/7/2015 6:15:17 PM ******/
SET ANSI_NULLS ON SET ANSI_NULLS ON
@ -9634,7 +9639,7 @@ GO
/* /*
vesp_GetTransitionReportData 5, 6078 vesp_GetTransitionReportData 5, 6078
*/ */
CREATE PROCEDURE vesp_GetTransitionReportData CREATE PROCEDURE [dbo].[vesp_GetTransitionReportData]
( (
@VersionID int, @VersionID int,
@ProcedureID int @ProcedureID int
@ -10404,10 +10409,10 @@ GO
/***************************************************************************** /*****************************************************************************
Volian Enterprises - Proprietary Information - DO NOT COPY OR DISTRIBUTE Volian Enterprises - Proprietary Information - DO NOT COPY OR DISTRIBUTE
Copyright 2013 - Volian Enterprises, Inc. All rights reserved. Copyright 2017 - Volian Enterprises, Inc. All rights reserved.
*****************************************************************************/ *****************************************************************************/
CREATE FUNCTION vefn_GetNonEditableItems() CREATE FUNCTION [DBO].[vefn_GetNonEditableItems]()
RETURNS @NonEditItems TABLE RETURNS @NonEditItems TABLE
( (
ItemID int primary Key, ItemID int primary Key,
@ -10614,9 +10619,9 @@ exec vesp_DeletePDFs
/***************************************************************************** /*****************************************************************************
Volian Enterprises - Proprietary Information - DO NOT COPY OR DISTRIBUTE Volian Enterprises - Proprietary Information - DO NOT COPY OR DISTRIBUTE
Copyright 2012 - Volian Enterprises, Inc. All rights reserved. Copyright 2017 - Volian Enterprises, Inc. All rights reserved.
*****************************************************************************/ *****************************************************************************/
CREATE PROCEDURE vesp_DeletePDFs CREATE PROCEDURE [dbo].[vesp_DeletePDFs]
WITH EXECUTE AS OWNER WITH EXECUTE AS OWNER
AS AS
BEGIN TRY -- Try Block BEGIN TRY -- Try Block
@ -10731,9 +10736,9 @@ GO
/***************************************************************************** /*****************************************************************************
Volian Enterprises - Proprietary Information - DO NOT COPY OR DISTRIBUTE Volian Enterprises - Proprietary Information - DO NOT COPY OR DISTRIBUTE
Copyright 2012 - Volian Enterprises, Inc. All rights reserved. Copyright 2017 - Volian Enterprises, Inc. All rights reserved.
*****************************************************************************/ *****************************************************************************/
CREATE PROCEDURE vesp_GetDatabaseSessions CREATE PROCEDURE [dbo].[vesp_GetDatabaseSessions]
WITH EXECUTE AS OWNER WITH EXECUTE AS OWNER
AS AS
select t1.SessionID,t1.UserID,t1.MachineName,t1.OwnerTypeName,t1.HowMany,t1.Status, select t1.SessionID,t1.UserID,t1.MachineName,t1.OwnerTypeName,t1.HowMany,t1.Status,
@ -10788,9 +10793,9 @@ GO
/***************************************************************************** /*****************************************************************************
Volian Enterprises - Proprietary Information - DO NOT COPY OR DISTRIBUTE Volian Enterprises - Proprietary Information - DO NOT COPY OR DISTRIBUTE
Copyright 2012 - Volian Enterprises, Inc. All rights reserved. Copyright 2017 - Volian Enterprises, Inc. All rights reserved.
*****************************************************************************/ *****************************************************************************/
CREATE PROCEDURE vesp_ListContentsAfterLastChanged CREATE PROCEDURE [dbo].[vesp_ListContentsAfterLastChanged]
( (
@LastChanged timestamp @LastChanged timestamp
) )
@ -10833,9 +10838,9 @@ GO
/***************************************************************************** /*****************************************************************************
Volian Enterprises - Proprietary Information - DO NOT COPY OR DISTRIBUTE Volian Enterprises - Proprietary Information - DO NOT COPY OR DISTRIBUTE
Copyright 2012 - Volian Enterprises, Inc. All rights reserved. Copyright 2017 - Volian Enterprises, Inc. All rights reserved.
*****************************************************************************/ *****************************************************************************/
CREATE PROCEDURE vesp_ListContentsAfterLastChanged2 CREATE PROCEDURE [dbo].[vesp_ListContentsAfterLastChanged2]
( (
@LastChanged bigint, @LastChanged bigint,
@UserID nvarchar(100) @UserID nvarchar(100)
@ -10917,9 +10922,9 @@ GO
/***************************************************************************** /*****************************************************************************
Volian Enterprises - Proprietary Information - DO NOT COPY OR DISTRIBUTE Volian Enterprises - Proprietary Information - DO NOT COPY OR DISTRIBUTE
Copyright 2012 - Volian Enterprises, Inc. All rights reserved. Copyright 2017 - Volian Enterprises, Inc. All rights reserved.
*****************************************************************************/ *****************************************************************************/
CREATE PROCEDURE vesp_ListItemsAfterLastChanged CREATE PROCEDURE [dbo].[vesp_ListItemsAfterLastChanged]
( (
@LastChanged bigint, @LastChanged bigint,
@UserID nvarchar(100) @UserID nvarchar(100)
@ -13299,7 +13304,7 @@ exec vesp_DeletePDFs
Volian Enterprises - Proprietary Information - DO NOT COPY OR DISTRIBUTE Volian Enterprises - Proprietary Information - DO NOT COPY OR DISTRIBUTE
Copyright 2017 - Volian Enterprises, Inc. All rights reserved. Copyright 2017 - Volian Enterprises, Inc. All rights reserved.
*****************************************************************************/ *****************************************************************************/
CREATE PROCEDURE vesp_FixHyphens CREATE PROCEDURE [dbo].[vesp_FixHyphens]
WITH EXECUTE AS OWNER WITH EXECUTE AS OWNER
AS AS
BEGIN TRY -- Try Block BEGIN TRY -- Try Block
@ -13434,8 +13439,8 @@ BEGIN TRY -- Try Block
set nocount on set nocount on
DECLARE @RevDate varchar(255) DECLARE @RevDate varchar(255)
DECLARE @RevDescription varchar(255) DECLARE @RevDescription varchar(255)
set @RevDate = '7/25/2017 9:35 AM' set @RevDate = '9/15/2017 8:00 AM'
set @RevDescription = 'Added vefn_GetZeroFromType and modified Disconnected Data' set @RevDescription = 'Corrected Definitions that were using default schema'
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
IF( @@TRANCOUNT > 0 ) COMMIT IF( @@TRANCOUNT > 0 ) COMMIT