Quantcast
Channel: Liquibase Forums
Viewing all articles
Browse latest Browse all 2993

Parse error at line: 12, column: 4: Incorrect syntax near 'ALTER'.

$
0
0
I'm using Microsoft Azure Datawarehouse and would like to version my scripst using Liquibase. 
I have tried creating simple tables and stored procedures using changelog and able to create them susccessfully, but when I try to put my complex stored procedures as part of changelog and try to execute I'm trying this error.

 "Caused by: liquibase.exception.DatabaseException: Parse error at line: 12, column: 4: Incorrect syntax near 'ALTER'."

CREATE PROCEDURE [test].[TestSP] 
    AS
    BEGIN

        SET NOCOUNT ON;
        ALTER PROC [test].[TestSP12]
            AS
            ........
            ....      


    END;
    
Don't know what I'm missing but I'm struck with this issue for couple of hours and couldn't able to find anything.
If anyone had a solution that will be really helpfull.
Thanks in advance.


Viewing all articles
Browse latest Browse all 2993

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>