Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Fixed numeric passed as float, why and how to avoid
Message
 
 
À
30/12/2015 02:38:12
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2003
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01629363
Message ID:
01629459
Vues:
40
The reason I used CAST(?myVar as same as SQL Server column definition) was primarily to avoid implicit conversion and therefore making the query non-sargable. I wanted to ensure that we're not doing any conversions for the column as float has higher precedence than numeric.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform