Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Field types in Oracle and Sql Server
Message
De
11/06/2004 10:29:34
Guy Pardoe
Pardoe Development Corporation
Peterborough, New Hampshire, États-Unis
 
 
À
10/06/2004 22:52:15
Yh Yau
Ingenuity Microsystems Sdn Bhd
Kuala Lumpur, Malaisie
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00912539
Message ID:
00912721
Vues:
17
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform