Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Changing Num type to Int
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01501221
Message ID:
01501226
Vues:
51
If you have STR(myfiedl, 6) somewhere in your code, it will return '******' in case when value exceeds 6 digits (INT).

>I didn't know that NUMERIC can be Identity. I actually need only 4 or 5 digits at the most for this column (the numbers never will go > 10000). Thank you very much.
>
>But what I am not clear is about converting to string. I thought you could use STR() function on either INT or NUMERIC field. Am I wrong?
>
>>First, there's no requirement for Identity column in MS SQL Server to be an integer. It can be INT, BIGINT, SMALLINT, TINYINT, DECIMAL or NUMERIC.
>>INT has more digits (10) . The only place where it could make a difference, is you convert it to a string.
>>
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform