| Author |
quick SQL help please
|
Amanda Leigh
Ranch Hand
Joined: Sep 15, 2004
Posts: 40
|
|
I am getting the error "Identifier or Quoted Identifier Expected" when i try to execute this in my code, however it works fine in SQL Plus or SQL Worksheet. What am I missing? [edited to add code tags] [ December 12, 2004: Message edited by: Jeanne Boyarsky ]
|
 |
Jim Cheng
Greenhorn
Joined: Dec 08, 2004
Posts: 11
|
|
You need to handle special characters properly in Java like single/double quotes. Could you post the java code which actually embed the SQL statement? Jim
|
 |
Stefan Wagner
Ranch Hand
Joined: Jun 02, 2003
Posts: 1923
|
|
Have you ever thought about indentation? I never saw that syntax before: but I'm not an SQL-Expert, nor do I know every RDBMS. [ December 11, 2004: Message edited by: Stefan Wagner ]
|
http://home.arcor.de/hirnstrom/bewerbung
|
 |
Jeanne Boyarsky
internet detective
Marshal
Joined: May 26, 2003
Posts: 26193
|
|
I added the code tags as suggested by Stephen. (The indentation was already there.) Amanda, for the future, code tags are one of the UBB buttons directly below the edit window.
|
[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
|
 |
 |
|
|
subject: quick SQL help please
|
|
|