, Oracle .
datetime. , CLR B 00/00/00 22:10:39, . :
SQL> select to_date('00/00/00', 'MM/DD/YY') from dual;
select to_date('00/00/00', 'MM/DD/YY') from dual
*
ERROR at line 1:
ORA-01843: not a valid month
In any case, Convert.ToDateTime (B) will probably not return the right thing.
In addition, these are:
"insert into MyTbl(Tdate,Ttime) value ("
should be as follows:
"insert into MyTbl(Tdate,Ttime) values ("
... but I suppose it's just a typo here.
source
share