aspose file tools
The moose likes JDBC and the fly likes quick SQL help please Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Databases » JDBC
Reply Bookmark "quick SQL help please" Watch "quick SQL help please" New topic
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
    
  66

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: quick SQL help please
 
Similar Threads
Passing more than one parameter to the jasper report
need help with a logic
two dropdown menus
Count query in oracle cursors
getting this error PLS-00103: please help