Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL
Message
From
12/09/2000 00:16:12
 
 
To
11/09/2000 14:06:52
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Re: SQL
Miscellaneous
Thread ID:
00414860
Message ID:
00415250
Views:
20
Yeah. I guess the INNER/OUTER stuff blinded me to the better function.

>>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...
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Previous
Reply
Map
View

Click here to load this message in the networking platform