Prepares database statement. Returns E_DB_PREPARE
on error.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(db_type), | intent(inout) | :: | db |
Database type. |
||
type(db_stmt_type), | intent(inout) | :: | db_stmt |
Database statement type. |
||
character(len=*), | intent(in) | :: | sql |
SQL query. |