Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Recordset
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Recordset

 Post Reply Post Reply
Author
dwhite02 View Drop Down
Newbie
Newbie


Joined: 10 October 2004
Status: Offline
Points: 33
Post Options Post Options   Thanks (0) Thanks(0)   Quote dwhite02 Quote  Post ReplyReply Direct Link To This Post Topic: Recordset
    Posted: 15 March 2007 at 4:04am
Might be out of the scope of this forum but it's worth a try.
 
I am trying to convert the query below (generated in MS Access ) to one I can use in an ASP page to query an Oracle DB. When I use it I get the error "ORA-00933: SQL command not properly ended"
 
Any suggestions....
 
Thanks.
 
SELECT COR_EMPLOYEES.EMP_ID, COR_EMPLOYEES_APP.NT_USERID, COR_EMPLOYEES.DESIGNATION
FROM COR_EMPLOYEES INNER JOIN COR_EMPLOYEES_APP ON COR_EMPLOYEES.EMP_ID = COR_EMPLOYEES_APP.EMP_ID
WHERE (((COR_EMPLOYEES.DESIGNATION)="SNR MGR"))
ORDER BY COR_EMPLOYEES.EMP_ID;
Back to Top
michael View Drop Down
Senior Member
Senior Member
Avatar

Joined: 08 April 2002
Location: United States
Status: Offline
Points: 4670
Post Options Post Options   Thanks (0) Thanks(0)   Quote michael Quote  Post ReplyReply Direct Link To This Post Posted: 15 March 2007 at 1:55pm
What version of Oracle? Joins can be different in O depending on their release.
Back to Top
dwhite02 View Drop Down
Newbie
Newbie


Joined: 10 October 2004
Status: Offline
Points: 33
Post Options Post Options   Thanks (0) Thanks(0)   Quote dwhite02 Quote  Post ReplyReply Direct Link To This Post Posted: 15 March 2007 at 7:09pm
I think it is V8.? The query I provided above does whork in MS Access when doing a query against the Oracle DB when they are linked tables.

Edited by dwhite02 - 15 March 2007 at 7:11pm
Back to Top
michael View Drop Down
Senior Member
Senior Member
Avatar

Joined: 08 April 2002
Location: United States
Status: Offline
Points: 4670
Post Options Post Options   Thanks (0) Thanks(0)   Quote michael Quote  Post ReplyReply Direct Link To This Post Posted: 15 March 2007 at 8:03pm
Yeah, 8 is old and I don't think it is using ANSI joins. Try using just JOIN as opposed to INNERT JOIN
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.