I have oracle table named Query_Times. So i create TableAdapter using VS2010, and add insert query to it:
INSERT INTO QUERY_TIMES (ID, QRY_TIMESTAMP) VALUES (1, @qry_time)
QRY_TIMESTAMP is timestamp(6) data type.
In code i try to execute query like this:
QUERY_TIMESTableAdapter tblqry_times = new QUERY_TIMESTableAdapter();
tblqry_times.InsertQryTime(currTime);
but i got an error Message=ORA-01036: illegal variable name/number.
How to correctly define parameter to use it in a query?