One of the fields in a csv file is date of birth. The dates is retrieved correctly but Iget the followng error when trying to insert it,
Error: Macromedia][SQLServer JDBC Driver][SQLServer]Conversion failed when converting character string to smalldatetime data type.
Error: Macromedia][SQLServer JDBC Driver][SQLServer]Conversion failed when converting character string to smalldatetime data type.
Code:
INSERT INTO player(sfirst,slast, dob, position,idnum, school,district, coach) VALUES ( (param 1) , (param 2) , '1/1/1997 ', (param 3) , (param 4) , 17, 6, 0 )