Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL
Message
De
11/09/2000 14:06:52
 
 
À
11/09/2000 10:33:11
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Re: SQL
Divers
Thread ID:
00414860
Message ID:
00415015
Vues:
26
>SELECT orders.id,;
> IIF(ISNULL(clients.name),"Sir/Madam"+SPACE(n),clients.name) AS cname ;
> FROM orders ;
> LEFT OUTER JOIN clients ;
> ON orders.id = clients.order_id ;
> INTO CURSOR temp

In addition, the NVL function would be better suited to this job...
Erik Moore
Clientelligence
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform