You are not required to convert your data files - Pervasive.SQL 2000i can access Btrieve files in v7, v6, and even pre-v6 format. You can even have a mixture of file formats in your data set. We definitely recommend your files be in at least v6 format for reliability. Some new features require the v7 format, and the best optimization occurs under the latest version.
DDF versions are an added requirement to the actual file version. Here is an excerpt from the CNVDDF tool mentioned earlier in this thread...
T
he dictionary system tables for Scalable SQL 3.01 and Scalable SQL 4.0 or later differ slightly in the data types that represent system columns and index definitions. For example, datatype “Xf$ID” is an Integer in Scalable.SQL 3.01, but an Unsigned Integer in later versions. Refer to the SQL Reference manual for a complete description of the system tables for your version of Scalable SQL.
To verify whether or not you need to convert your DDFs, open the dictionary with SQLScope or the SQL Data Manager utility (for Pervasive.SQL 7 or Pervasive.SQL 2000, respectively). Issue the following SQL statement:
SELECT * FROM X$Field
The results from this query should include a row with a field name of Xf$Id. If the data type value for this field is a 1, then the dictionary is in the old 3.01 format, and needs to be converted. If the datatype for this field is a 14, then this dictionary is already in the correct format.
Your dictionary files must be in a Btrieve file format of version 6.x or greater. To change the format of the dictionary files, specify the Create File Version setting in the MicroKernel Database Engine as 6.x or higher and run the Rebuild utility for your dictionary files: File.ddf, Field.ddf, and Index.ddf.
I suggest you try out the new engine first before converting your data files just to make sure everything runs correctly, and then consider updating your files. Linda
Pervasive Software Support