You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Don't know if its only oracle related but in fact, if you try to run the following scripts : create table FOO (myid INT NOT NULL); -- this comment will fail the script create table FOO (myid INT NOT NULL); /* this comment will fail the script too */
the scripts will fail according to the oracle exception ORA-00900 invalid SQL statement.
DbUp consider the comment as SQL instruction in each cases.
The text was updated successfully, but these errors were encountered:
Same problem with Environnement.NewLine at the end of script. I think the sql parser just split our script relative to the dialect delimiters. It will be interresting to remove comment from script before execution, or maybe detect if parsed text is a command.
Don't know if its only oracle related but in fact, if you try to run the following scripts :
create table FOO (myid INT NOT NULL); -- this comment will fail the script
create table FOO (myid INT NOT NULL); /* this comment will fail the script too */
the scripts will fail according to the oracle exception ORA-00900 invalid SQL statement.
DbUp consider the comment as SQL instruction in each cases.
The text was updated successfully, but these errors were encountered: