• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Invalid Column Name from Java

 
santosh batta
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

A query giving "Invalid Column Name "%Threshold%" " error while executing from Java. It works fine when I try to execute it through sql dbx. Here is the query I'm reading from property file.



Does it require any extra formatting? Any help is really appreciated.. Thanks in advance.
 
Mohamed Sanaulla
Saloon Keeper
Posts: 3165
34
Google App Engine Java Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you try using '%Threshold%' in place of "%Threshold%"?

More over which DB are you using?
 
santosh batta
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Mohamed.. It worked. FYI.. I'm using sybase..
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic