how to insert date in the datebase using JDBC?
Answers
Answered by
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
Business Studies,
2 months ago
Physics,
4 months ago
Chemistry,
4 months ago
Math,
11 months ago
Geography,
11 months ago