RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TIBDatabaseInfo.ODSMajorVersion Property

Returns the on disk structure (ODS) major version number.

Pascal
property ODSMajorVersion: Long;
C++
__property Long ODSMajorVersion;

Use ODSMajorVersion to return the ODS major version number for the database. Databases with different major version numbers have different physical layouts. 

A database engine can access only databases with a particular ODS major version number. Attaching to a database with a different ODS number results in an error. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!