I have the following SQL command (simplified) assigned to the var sql
:
INSERT ALL
INTO ORACLETBL (COL_A,COL_B) VALUES ('A','B')
INTO ORACLETBL (COL_A,COL_B) VALUES ('C','D')
SELECT * FROM dual;
When I do a conn.Execute(sql);
in a void
method, the command works correctly.
When I do an await conn.ExecuteAsync(sql);
in an async Task
method, against the exact same SQL command, I get the exception "ORA-00933: SQL command not properly ended".
Is it obvious to anyone what I'm doing wrong?