parse_string
Description:
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 <link linkend="GdaSqlParser.description">GdaSqlParser's object description
</link>.
Parameters:
this |
a SqlParser object |
sql |
the SQL string to parse |
remain |
location to store a pointer to remaining part of |
Returns:
a new Statement object, or null if an error occurred |