|
Should the code now look like this:
CREATE VIEW ROB/DOUGGIE
(F1KEY1, F1KEY2, F2DETAIL)
AS SELECT
FILE1.F1KEY1, FILE1.F1KEY2,
FILE2.F2DETAIL
FROM
(FILE1
LEFT OUTER JOIN FILE2 ON (F1KEY1 AND F1KEY2))
DGray@xxxxxxxxxxxxxxx@midrange.com on 03/30/2005 05:28:33 PM
Please respond to Midrange Systems Technical Discussion
<midrange-l@xxxxxxxxxxxx>
Sent by: midrange-l-bounces@xxxxxxxxxxxx
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
cc:
Subject: Re: SQL "USING" reserved word
try ON instead of USING
you also left off a final )
_________________________
Daniel L. Gray
Systems Analyst
Maverick Transportation, Inc.
13301 Valentine Road
North Little Rock, AR 72117
Phone: 501-955-1221
Fax: 501-955-4221
fkany@averittexpr
ess.com
Sent by: To
midrange-l-bounce MIDRANGE-L@xxxxxxxxxxxx
s@xxxxxxxxxxxx cc
Subject
03/30/2005 04:23 SQL "USING" reserved word
PM
Please respond to
Midrange Systems
Technical
Discussion
<midrange-l@midra
nge.com>
I'm trying to pseudocode an SQL solution for my current project. I'm
stumped at trying to use the "USING" reserved word in the section that uses
"LEFT OUTER JOIN". Did I use it correctly?
Thanks,
Frank
=================================================
FILE1 is the header file, keyed on F1KEY1 and F1KEY2.
FILE2 is the detail file, keyed on F2KEY1 and F2KEY2.
Here's an example of what my SQL pseudocode code looks:
CREATE VIEW ROB/DOUGGIE
(F1KEY1, F1KEY2, F2DETAIL)
AS SELECT
FILE1.F1KEY1, FILE1.F1KEY2,
FILE2.F2DETAIL
FROM
(FILE1
LEFT OUTER JOIN FILE2 USING (F1KEY1 AND F1KEY2)
This mailing list archive is Copyright 1997-2026 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.