Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL
Message
From
11/09/2000 14:06:52
 
 
To
11/09/2000 10:33:11
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Re: SQL
Miscellaneous
Thread ID:
00414860
Message ID:
00415015
Views:
27
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform