Results 1 to 4 of 4
Thread: Update table in database
- 01-29-2011, 06:09 AM #1
Member
- Join Date
- Jan 2011
- Posts
- 4
- Rep Power
- 0
Update table in database
Hi, I have a problem about update table in a database. The situation is I have a table named member which store thousand rows of data records about thousand of member for a system. This member table has a field named MemberExpiryDate which used to store each member expired date. I have been asked to update the data records for member with member expired date equals to '2011/05/01'. So, as I count there are 50 of records (which member expired date is '2011/05/01') out of thousand of records in that member table need to be update. So, I write a Java program to update those 50 data records and the program is run without prompt out any error. But I have a question is how can I confirm that those 50 records out of thousand of records are updated completely and how can I confirm that other data except those 50 records are not affected and not updated ? Is it got any function in Java can let me know which record from those 50 records is not update exactly ? Is it got any method can let me know other data records except those 50 records are not affected ?
Thanks :)
- 01-29-2011, 04:29 PM #2
Moderator
- Join Date
- Jul 2010
- Location
- California
- Posts
- 1,605
- Rep Power
- 5
Cross posted at Update table in database - Java Programming Forums
- 01-30-2011, 03:59 AM #3
Member
- Join Date
- Jan 2011
- Posts
- 4
- Rep Power
- 0
Thanks for your help. I will try it. :)
-
Similar Threads
-
issue with update on table and prepared statement
By hacktorious in forum JDBCReplies: 1Last Post: 01-10-2011, 01:44 AM -
how can i update my table with Jtextfield filtering?
By sungirl in forum Advanced JavaReplies: 4Last Post: 12-14-2010, 04:28 PM -
GUI does not update table when variables are set to datamodel using JButton
By Kenjitsuka in forum New To JavaReplies: 13Last Post: 10-30-2010, 04:01 PM -
Update a price in a database
By sandraW in forum New To JavaReplies: 14Last Post: 08-29-2010, 04:41 AM -
update a change in a Jtable directly to the mysql table
By Muffel in forum JDBCReplies: 0Last Post: 02-21-2010, 11:51 AM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks