Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Datatype possible ?
Message
De
18/01/2000 13:26:17
 
 
À
18/01/2000 08:12:51
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00319357
Message ID:
00319538
Vues:
8
>Let's take it a step further,
>
>Suppose I have a select statement like:
>
>select (number*price) * iff(type = "BUY", 1, -1) as costs from TABLENAME
>
>
>It won't work with using:
>SELECT TRANSFORM(number*price, "999999.99") AS costs
>
>any other suggestions ?
>
>John

SELECT (number*price)*iif(type='BUY',1,-1)+000000.00 AS COSTS FROM tablename
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform