Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Query Help part 1
Message
De
18/10/2004 14:49:55
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00952380
Message ID:
00952396
Vues:
9
Update. I made a mistake. Now I realise that field3 is numeric:
<SELECT  cust_no, field1, field2, IIF(table2.Field3>5,Table2.Field3, 0000000) AS Field3;  && You must add so much zeros as LEN of Table2.Field3
               FROM table1;
               LEFT JOIN Table2 ON Table1.Cust_no = Table2.Cust_No;
              INTO CURSOR cCursor
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform