Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Invalid column name

996004Mar 19 2013 — edited Mar 19 2013
SELECT USERNAME,PASSWORD FROM EMPLOYEE WHERE USERNAME='"+userName(from GUI form)+"' AND PASSWORD='"+password(from GUI Form)+"'
ResultSet resultSet = DBHandle.getData(connection, query);
resultSet.first();
if(resultSet.getString(1).equals(userName)&&resultSet.getString(password).equals(password)){
return 1;
}else{
return 0;
}

when i run this query i got Invalid column Name error. But my database have these columns. But I got that following error.

Thanks in Advance!
This post has been answered by SomeoneElse on Mar 19 2013
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 16 2013
Added on Mar 19 2013
8 comments
490 views