return count; move that statement after catch block and try to run.
Joined: Dec 10, 2004
Hi This is what ur error says ORA-00936: missing expression Cause: A required part of a clause or expression has been omitted. For example, a SELECT statement may have been entered without a list of columns or expressions or with an incomplete expression. This message is also issued in cases where a reserved word is misused, as in SELECT TABLE. Action: Check the statement syntax and specify the missing component.
Do one thing as Implement SQL is this way Insert into Registration (firstName, lastName, gender, userid, password, occupation, address, location) values (?,?,?,?,?,?,?,?)