but what if i'm inserting a string value in a sequence.. then i just want to give ps.setString(1,""); it will insert but now i want to give the integer value so which one i can use.. please help me ranchers..
thanks in advance.. regards Megha!!
Joined: Dec 15, 2005
No, no, no. The SQL generates and inserts the value for you; you don't have to supply and bind a value to your PreparedStatement
[ May 26, 2006: Message edited by: stu derby ]
Joined: Mar 22, 2006
Thank you ranchers.. this query is working fine.. but there is a problem also.. if i want to get the current value of the sequence.. what to do