Problem with Inner Join (converting SQL from Access) [message #1940] |
Wed, 12 June 2002 05:27 |
Chris Harrington
Messages: 1 Registered: June 2002
|
Junior Member |
|
|
I'm trying to convert SQL statements from MS Access to Oracle. Right now, I'm running into this error message: "Query cannot be updated because the FROM clause is not a single simple table name."
Here is the original statement in Access:
SELECT ENTRY.* FROM ENTRY INNER JOIN LOGIN ON ENTRY.[[Entry #]] = LOGIN.SELECTED_WITHDRAWAL WHERE (((LOGIN.USER_ID)=[[forms]]![[ezftz login screen]].[[user id]]));
Here was my attempt in Oracle:
"SELECT ENTRY.* FROM ENTRY, LOGIN WHERE ENTRY.Entry_NO='" & Entry_NO & "' AND LOGIN.USER_ID= '" & UserID & "'"
The problem is trying to convert that INNER JOIN. Help, please?
Chris
|
|
|