Computer Science, asked by omkaru3190, 5 hours ago

how to insert date in the datebase using JDBC?​

Answers

Answered by parakkalsivadasan195
0

Answer:

prepareStatement("insert into JsonData (last_crawl_date) values(?))"); p. setDate(1, Date. valueOf(lastCrawlDate)); As you can see, the lastCrawlDate is a String and in the format of yyyy/mm/dd

Similar questions