Article ID: 104958
Article Last Modified on 7/27/2001
SELECT * FROM {oj table1 LEFT OUTER JOIN table2 ON
(table1.abcdefghijklmnopq = table2.col1)}
works fine; note that the delimited column name (abcdefghijklmnopq)
is 17 chars long. However, the following query:
SELECT * FROM {oj table1 LEFT OUTER JOIN table2 ON
(table1.abcdefghijklmnopqr = table2.col1)}
gives the error:
The above error appears in a dialog box with an OK button. Choosing OK
will cause SQLExecDirect or SQLExecute to return SQL_ERROR. The SQL_ERROR
states:
While working with an ODBC Data source, the Access Engine uses
delimited identifiers for all its queries; it also uses canonical
outer join syntax for performing outer joins. Thus, when an Access or
Visual Basic user does an outer join on Oracle tables, the above
mentioned error occurs if any of the columns participating in the
outer join have a name longer than 17 characters.
Additional query words: 1.00.2816 1.00.3112 VB
Keywords: kbbug KB104958