Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Force Calculated Field to Type Integer in View?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00727704
Message ID:
00728077
Vues:
15
Hello again ..

you could also cast the datatype at the backend (here MS-SQL syntax), this has worked also for me ..

select in the view:
"SELECT o.orderid, o.shipvia, o.freight, CAST(o.shipvia*o.freight AS int) AS NonSense FROM orders o"

after this, datatype of column nonsense was "I"

Regards

Christian
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform