Determines the version of SQL Anywhere that was used to create a database file, without attempting to start the database. Currently, this function only differentiates between version 10 or 11 and pre-10 databases.
short DBCreatedVersion ( a_db_version_info * );
A pointer to a structure. See a_db_version_info structure.
A return code, as listed in Software component exit codes.
If the return code indicates success, then the created_version field of the a_db_version_info structure contains a value of type a_db_version indicating which version of SQL Anywhere created the database. For the definition of the possible values, see a_db_version enumeration.
Version information is not set if a failing code is returned.
|Discuss this page in DocCommentXchange.
Send feedback about this page using email.
|Copyright © 2009, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.1|