Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Decimal field width inconsistency
Message
 
 
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Versions des environnements
SQL Server:
SQL Server 2008
Application:
Desktop
Divers
Thread ID:
01523093
Message ID:
01523104
Vues:
39
You can import into an intermediate cursor with proper field size

>I import from a text file with APPEND FROM TestFile.txt SDF.
>
>This function uses the length of the fields to determine the fields how they are imported. Instead of putting 10 characters into my field, it places additional two characters from the next field, because VFP assumes the field width to be 12 instead of 10.
>
>>VFP stores numeric(N) data type in a table as a string. As result it has to reserve 1 additional position for a sign and one for a decimal point.
>>
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform