The information in this article applies to:
SUMMARY
Field names and data types are automatically translated into SQL Server
fields when a Visual FoxPro table is exported by the Upsizing Wizard. This
article lists the data type mapping that occurs between Visual FoxPro and
SQL when the data is exported from the Upsizing Wizard.
MORE INFORMATIONField names and data types are automatically translated into SQL Server fields when a Visual FoxPro table is exported by the Upsizing Wizard. Visual FoxPro data types map to SQL Server data types as follows:
Expressions that Map Directly from Visual FoxPro to SQL ServerThe following expressions are the same on Visual FoxPro and on SQL Server:
Index Type MappingSQL Server and Visual FoxPro indexes are very similar. The following table shows how Visual FoxPro index types are converted to SQL Server index types:
The Upsizing Wizard uses Visual FoxPro tag names as names for indexes on
SQL Server. If the tag name is a reserved word on the server, the wizard
alters the tag name by appending the underscore (_) character.
NOTE: SQL Server doesn't support ascending or descending indexes, nor does it permit expressions within server indexes. The Upsizing Wizard removes Visual FoxPro expressions from index expressions as the index is upsized; only field names are sent to the server. SQL Server Data Types that Force Timestamp ColumnsIf you choose Add Timestamp Field, by default the Upsizing Wizard adds a new column with the Timestamp data type if the SQL Server table to be created will have any of the following data types:
Object MappingThe following table summarizes how objects are mapped from Visual FoxPro to SQL Server:
Referential Integrity and Rule MappingThe following table describes the triggers created by the Upsizing Wizard. Any specific trigger might contain code to emulate some or all of the Visual FoxPro functionalities listed.
Additional query words: VFoxWin
Keywords : FxprgSql |
Last Reviewed: August 16, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |