File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC and the fly likes executeUpdate( Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "executeUpdate("")) ???" Watch "executeUpdate("")) ???" New topic
Author

executeUpdate("")) ???

darine darine
Ranch Hand

Joined: Mar 08, 2001
Posts: 43
All
I'm trying to insert data to an empty table and so when i execute just one statement(st.executeUpdate("")) i do not get anything entered,so i had to use a second statement with the first one in order to get the data from the first statement entered to the first row.
please let me know what is the ideal solutions.
here is the code.
thanks.
===================

[ Edited by Dave to format code and fix ]
[ March 12, 2002: Message edited by: David O'Meara ]
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

I'm sorry but I couldn't understand the problem you were having.
If the problem is that you are trying to insert some data and it is not getting written to the DB, try this thread
Dave
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: executeUpdate("")) ???