Executes given query, and returns optional error message if rc
is
not E_NONE
. Otherwise, err_msg
is not allocated. Returns
E_DB_EXEC
on error
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(db_type), | intent(inout) | :: | db |
Database type. |
||
character(len=*), | intent(in) | :: | query |
SQL query. |
||
character(len=:), | intent(out), | optional, | allocatable | :: | err_msg |
Optional error message. |