Use strSql="insert into TEST (SJ) values ('" + DateTime. Now + "')
SJ is the DATE format
The use of an "ORA - 01861, words and the format string does not match"
What is your solution?
CodePudding user response:
To_date (' # ', '- dd yyyy - mm hh24: mi: ss') under the date will be shiftedCodePudding user response:
The inside of the oracle date need transformation can be savedCodePudding user response:
DateTime. Now. The DateThe database is the date, not a datetime