wood burning stoves 2.0*
The moose likes JDBC and the fly likes How to Insert Date Month by month via JDBC (MySQL DB) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "How to Insert Date Month by month via JDBC (MySQL DB)" Watch "How to Insert Date Month by month via JDBC (MySQL DB)" New topic
Author

How to Insert Date Month by month via JDBC (MySQL DB)

priyanka kulathilaka
Ranch Hand

Joined: Apr 13, 2011
Posts: 36
Now my code generated other data from today to mention period. those are correctly inserted.but date inserted as same date.
need to insert month by month. because hope to make a monthly installment calculator
please help me friends..






Priyanka Kulathilaka
Software Engineer - Java
Sri Lanka
T Mishra
Ranch Hand

Joined: Apr 04, 2006
Posts: 108

Are you getting any error ?


Thanks,
Tushar (SCJP 1.5)
priyanka kulathilaka
Ranch Hand

Joined: Apr 13, 2011
Posts: 36
T Mishra wrote:Are you getting any error ?


sorted it

thanks
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38087
    
  22
And how did you sort it? We would like to know, because the same problem might appear in the future.
priyanka kulathilaka
Ranch Hand

Joined: Apr 13, 2011
Posts: 36
Campbell Ritchie wrote:And how did you sort it? We would like to know, because the same problem might appear in the future.


 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to Insert Date Month by month via JDBC (MySQL DB)
 
Similar Threads
How to set date in mysql using prepared statement?
How to write to new table?
Date default in SQL Server
java.sql.SQLException: [Microsoft][ODBC SQL Server Driver]Opti onal fature not implem
inserting a date field