We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Error SQL72045: Script execution error. The executed script: CREATE PROCEDURE [integration].[AutoMerge] @source NVARCHAR (255), @target NVARCHAR (255), @UsingIndex NVARCHAR (255)=NULL, @mode INT=1, @IncludeColumns NVARCHAR (MAX)=NULL, @ExcludeColumns NVARCHAR (MAX)=NULL, @SkipMissingSourceColumns BIT=0, @TruncateSourceAfterMerge BIT=0, @debug BIT=0 AS BEGIN SET NOCOUNT ON; SET XACT_ABORT ON; DECLARE @newline AS NCHAR (1) = char(13); DECLARE @Identation AS NVARCHAR (32) = ''; DECLARE @SourceSchema AS sysname = isnull(parsename(@source, 2), schema_name()), @sourcetable AS sysname = parsename(@source, 1), @TargetSchema AS sysname = isnull(parsename(@target, 2), schema_name()), @TargetTable AS sysname = parsename(@target, 1), @indexid AS INT; DECLARE @columns TABLE ( ColId INT , ColumnName sysname , TypeName sysname , Bytes SMALLINT); DECLARE @MatchColumns AS TABLE ( ColId INT , ColumnName sysname); DECLARE @SourceColumns TABLE ( ColumnName sysname); DECLARE Time elapsed 0:00:57.34 Error: The process 'sqlpackage' failed with exit code 1
The text was updated successfully, but these errors were encountered:
This issue is idle because it has been open for 14 days with no activity.
Sorry, something went wrong.
Could you help me how did you manage to deploy store procedure? I couldn't find any relevant document.
@ShubhamG25 - are you looking for overall documentation on deploying objects, including stored procedures, for SQL?
Yes please, if possible?
Also I need to enable CDC on the particular tables. I am getting this error Build error SQL70001: This statement is not recognized in this context
No branches or pull requests
Error SQL72045: Script execution error. The executed script:
CREATE PROCEDURE [integration].[AutoMerge]
@source NVARCHAR (255), @target NVARCHAR (255), @UsingIndex NVARCHAR (255)=NULL, @mode INT=1, @IncludeColumns NVARCHAR (MAX)=NULL, @ExcludeColumns NVARCHAR (MAX)=NULL, @SkipMissingSourceColumns BIT=0, @TruncateSourceAfterMerge BIT=0, @debug BIT=0
AS
BEGIN
SET NOCOUNT ON;
SET XACT_ABORT ON;
DECLARE @newline AS NCHAR (1) = char(13);
DECLARE @Identation AS NVARCHAR (32) = '';
DECLARE @SourceSchema AS sysname = isnull(parsename(@source, 2), schema_name()), @sourcetable AS sysname = parsename(@source, 1), @TargetSchema AS sysname = isnull(parsename(@target, 2), schema_name()), @TargetTable AS sysname = parsename(@target, 1), @indexid AS INT;
DECLARE @columns TABLE (
ColId INT ,
ColumnName sysname ,
TypeName sysname ,
Bytes SMALLINT);
DECLARE @MatchColumns AS TABLE (
ColId INT ,
ColumnName sysname);
DECLARE @SourceColumns TABLE (
ColumnName sysname);
DECLARE
Time elapsed 0:00:57.34
Error: The process 'sqlpackage' failed with exit code 1
The text was updated successfully, but these errors were encountered: