I am getting a SQL syntax error when installing my package. THe package makes use of the Execute SQL package action to create some tables in the target site DB. The SQL is simply generated from sql server and it runs fine when I execute it directly against the DB.
Is it to do with the line breaks perhaps?
Error in Execute SQL Package action for package DotDigital Appeals
Manager error:umbraco.DataLayer.SqlHelperException: Umbraco Exception
(DataLayer): SQL helper exception in ExecuteNonQuery --->
System.Data.SqlClient.SqlException: Incorrect syntax near 'GO'.
Incorrect syntax near 'GO'.
Incorrect syntax near 'GO'.
Incorrect syntax near the keyword 'IF'.
SQL syntax error in Exectute SQL package action
I am getting a SQL syntax error when installing my package. THe package makes use of the Execute SQL package action to create some tables in the target site DB. The SQL is simply generated from sql server and it runs fine when I execute it directly against the DB.
Is it to do with the line breaks perhaps?
is working on a reply...