Progress
Language Reference
DBVERSION Function
Returns, as a character string, the version number of a Progress database.
SYNTAX
integer-expression
The sequence number of a database the Progress session is connected to. For example, DBVERSION(1) returns information on the first database the Progress session is connected to, DBVERSION(2) returns information on the second database the Progress session is connected to, etc. If you specify a sequence number that does not correspond to a database the Progress session is connected to, the DBVERSION function returns the unknown value (?).
logical-name or alias
These forms of the DBVERSION function require a quoted character string or a character expression as a parameter. If the parameter is an alias of a connected database or the logical name of a connected database, then Progress returns the version number. Otherwise, it returns the unknown value (?).
EXAMPLEThis procedure displays the version number of all connected databases.
NOTE
DBVERSION does not apply to non-Progress data sources.
SEE ALSO
ALIAS Function, CONNECT Statement, CONNECTED Function, CREATE ALIAS Statement, CREATE DATABASE Statement, DATASERVERS Function, DBCODEPAGE Function, DBCOLLATION Function, DBRESTRICTIONS Function, DBTYPE Function, DELETE ALIAS Statement, DISCONNECT Statement, FRAME-DB Function, LDBNAME Function, NUM-DBS Function, PDBNAME Function, SDBNAME Function
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |