
March 13th, 2012, 04:22 AM
|
|
Registered User
|
|
Join Date: Mar 2012
Posts: 3
Time spent in forums: 18 m 13 sec
Reputation Power: 0
|
|
Column unknown error
Hey guys,
I am using firebird Db in java/swing and i am running into a problem, i have a table named "TBLCASHTRANSACTION" which has a column name "LOGINID". I have a text field named "textField_1" in which i would enter the LoginId and afterwords when i run this query :
SELECT * FROM TBLCASHTRANSACTION WHERE LOGINID = "+ textField_1.getText();
I get this error:
org.firebirdsql.jdbc.FBSQLException: GDS Exception. 335544569. Dynamic SQL Error
SQL error code = -206
Column unknown
SSK0050606111535350002490
At line 1, column 50
Where SSK0050606111535350002490 is the loginid i entered in the textfield. What could be the problem. Please help  .
Thanks,
Harry
|