Parses sql
and creates a Statement statement from the first SQL statement
contained in sql
: if sql
contains more than one statement, then the remaining part of the string is not parsed
at all, and remain
(if not null
) will point at the first non parsed character.
To include variables in the sql
string, see the GdaSqlParser's object description.
this |
a SqlParser object |
sql |
the SQL string to parse |
remain |
location to store a pointer to remaining part of |
a new Statement object, or |