Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Money vs Real type
Message
De
25/11/2009 07:00:56
 
 
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Versions des environnements
SQL Server:
SQL Server 2005
Divers
Thread ID:
01436543
Message ID:
01436544
Vues:
59
>Hi,
>
>I am trying to decide what type to use for VFP N type data in SQL Server. The column in VFP does hold value of dollar amount. But I don't understand the significance of Money type in SQL Server. That is, when I retrieve this data into VFP application (or .NET application for that matter) how is it different from Real type? Any suggestions would be appreciated.

Dmitry,

My point of view is to use Monetary data type if the field holds any currency type [ to avoid surprises with adding floating point numbers]

The vfp equivalent of Money is Currency

I think in .net the mapping of sql Money will be mapped into decimal data type
Gregory
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform