Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Field types in Oracle and Sql Server
Message
From
11/06/2004 10:29:34
Guy Pardoe
Pardoe Development Corporation
Peterborough, New Hampshire, United States
 
 
To
10/06/2004 22:52:15
Yh Yau
Ingenuity Microsystems Sdn Bhd
Kuala Lumpur, Malaysia
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00912539
Message ID:
00912721
Views:
16
I think the answer is yes.

Fox has a NUMERIC datatype. But NUMERIC is not a true datatype in most SQL databases (including Oracle and SQL Server). But I'm almost sure it is a legal alias in most databases commonly available.

So Numeric(18,6) should be an allowable column; and your remote view shouldn't know the difference.

Guy



>Hi all,
>Am using remote views to connect via ODBC to Oracle and Sql servers. For numeric data types in VFP, say 18 digits with 6 decimal points, what is the equivalent field types in Oracle and Sql servers?
>
>I'm trying to standardize to use only 1 type of remote view instead of 1 for Oracle and 1 for SQL server. Oracle offers the number data type while SQL server has money, numeric, float, decimal. If I want to have the equivalent of 18 digits and 6 decimal points in remote view, what data type is best for Sql server? If numeric is chosen, would the same remote view be able to access the number data type in Oracle?
>
>Thanks in advance
>Yau
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform