PatMcLaughlin
Programmer
Hello Friends, I am trying to insert data into a sql server table. One of the pieced of data (lcprocdate) is in fact a date field in the sql table but a string in foxpro. ("10/19/2013"). I have tried to pass it as a sting, as a date field (ctod). I have tried to send it using the following:
(The red is the lcprocdate variable reformatted for order) all without joy. I need help to get past this hump.
Code:
CONVERT(DATETIME, '[COLOR=#EF2929]2013-10-19[/color] 00:00:00',102)