2
I am not able to make an Insert in the SQL Server database. Follow my code:
INSERT INTO TB_Cadastro (Cod_Vac, CodIN,Produtor, Codmal, DataVac, DataCompra, NumDoc, SerieDoc, UFDoc, CodMunDoc, Lab, NumPartida, Validade, Revendedor, Doses, Qtde, Obs, tipo, Por, Qtde412Macho, Qtde1224Macho, Qtde2436Macho, Qtde36Macho, Qtde412Femea, Qtde1224Femea, Qtde2436Femea, Qtde36Femea, Campanha, CasaVet, CPFCNPJDoador, Origem, QtdeFiscalizada, TipoVacinacaoAnterior, Responsavel, NumTransfVac, ativo)
VALUES (5079,'5868','24936707287','',TO_DATE('2015-04-08 00:00:00','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2015-08-04 00:00:00','YYYY-MM-DD HH24:MI:SS'),'072608 ','','14',1400100,'20557161000198','009/2014 ',TO_DATE('','YYYY-MM-DD HH24:MI:SS'),'11','30','','','','',6,1,0,0,3,2,14,2,'2/2015','','','','','5','','','');
SQL Error [195] [42000]: 'TO_DATE' is not a recognized built-in Function name. java.sql.Sqlexception: 'TO_DATE' is not a recognized built-in Function name.
+1, did not know it was from Oracle. I corrected my answer.
– bfavaretto