Good question. I think it would need to be a one-liner.when I put this statement in TOracleScript, can the component detect this statement as a whole to be pass into onCommand event ?
That would be in a few weeks. If you let me know your Delphi/C++Builder version, I can upload a patch for you.And, do you have any idea when MERGE feature will be included in your next release ?
When I try this statement in a script in 4.1.1, it recognizes MERGE as a SQL statement, and sends it to the server. In 4.1.0 and earlier, it would not have been recognized as a SQL statement.When TOraclescript reach the merge statements, it is able to detect that it is a nonSQL type but only returns "merge" as a command.substitutedtext property and skip the rest of the lines below.