Validates an opened DMPACK database. The application id must match
the constant DB_APPLICATION_ID
, and the user version must be equal
to DB_USER_VERSION
.
The function returns the following error codes:
E_DB_ID
if application id is missing or invalid.E_DB_PREPARE
if statement preparation failed.E_DB_STEP
if step execution failed.E_DB_TYPE
if query result is of unexpected type.E_DB_VERSION
if the user version is incompatible.Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(db_type), | intent(inout) | :: | db |
Database type. |