Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

"...This site is truly a marvel. Without a doubt the most comprehensive, friendly and just plain useful resource of its kind..."

Geography

Where in the world do Tek-Tips members come from?
dirkg (TechnicalUser)
14 Nov 00 9:27
Hi all,

I've made an append-query which appends selected data of a table located on an Oracle database to a an Access-table. I made the query in MSAccess and made an ODBC-link to the ORACLE-table. The ORACLE-table is called EKET and the Access-table is called Pre-EKET. The records I want to select are records for which the key is also present in the Access-table Pre-EKPO. So there's a link between the Oracle-Table and the Access-table. The strange thing is that I have executed already several queries like this and it worked without any problems. For this query however I get following error:
[ORACLE][ODBC ORACLE DRIVER][ORACLE OCI]ORA-00960: ambiguous column naming in select list (#960)

Can somebody help me with this one, it really drives me crazy. I tried everything: renaming the columns, changing the type, etc...

The sql-statement is the following:
INSERT INTO [Pre-EKET] ( EBELN, EBELP, ETENR )
SELECT DISTINCTROW [Pre-EKPO].EBELN, [Pre-EKPO].EBELP, SAPR3_EKET.ETENR
FROM SAPR3_EKET INNER JOIN [Pre-EKPO] ON (SAPR3_EKET.EBELP =
[Pre-EKPO].EBELP) AND (SAPR3_EKET.EBELN = [Pre-EKPO].EBELN);


All help is really welcome. Thank you very much in advance!

Greetings,

Dirk

dirk.news@yucom.be

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Back To Forum

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close