Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to do this?
Message
 
To
08/03/2004 09:17:59
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
00884038
Message ID:
00884048
Views:
11
The first thing I thought:
SELECT CursorA.cCode, CursorA.cname, nRate, NVL(CursorB.yCharges,000.00) AS yCharges;
       FROM CursorA;
       LEFT JOIN CursorB ON CursorA.cCode == CursorB.cCode;
       UNION;
       SELECT cCode, cname, SPACE(20) AS nRate, yCharges;
       FROM CursorB;
       WHERE CursorB.cCode NOT IN (SELECT CursorA.cCode FROM CursorA);
INTO CURSOR YourCursor
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Reply
Map
View

Click here to load this message in the networking platform