Subject | How to know if a statement is a CREATE DATABASE without parsing the query string |
---|---|
Author | woodsmailbox |
Post date | 2009-08-01T19:44:58Z |
Hi,
Is there any way with the fbclient API to see if a statement is a "CREATE DATABASE" statement without parsing the query string?
I assume the standard way to route DSQL API calls depending on the statement type is to do a isc_dsql_sql_info() on a prepared statement. But it doesn't have the isc_info_sql_stmt_create_database type.
Thanks,
Cosmin.
Is there any way with the fbclient API to see if a statement is a "CREATE DATABASE" statement without parsing the query string?
I assume the standard way to route DSQL API calls depending on the statement type is to do a isc_dsql_sql_info() on a prepared statement. But it doesn't have the isc_info_sql_stmt_create_database type.
Thanks,
Cosmin.