• Post Reply Bookmark Topic Watch Topic
  • New Topic

Exception while using select

 
Hussain Fakhruddin
Ranch Hand
Posts: 96
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I trying to select 31 column in my table using select query but an exception is thrown

java.sql.SQLException: ORA-00904: "US"."BRANCH_ID": invalid identifier

i am able to select the 30 column but not the 31st or 32nd colum.
help needed, i have tried using Statment and prepared Statement both but its not working.
 
Hussain Fakhruddin
Ranch Hand
Posts: 96
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sorry people stupid question problem solved..
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!