|
|
Question : convert datetime in sybase ASE 11.5
|
|
I have date as a text field in format "17/06/2000" and I want to convert it to datetime:
date2=convert(datetime, indate,nnn) (indate = "17/06/2000" and nnn = 100..110)
I can't find the right parameters to do it.
I get error message: "Arithmetic overflow during implicit conversion of VARCHAR value '17/06/2000' to a DATETIME field .Arithmetic overflow occurred."
|
Answer : convert datetime in sybase ASE 11.5
|
|
This one will do the job:
select convert(datetime,"17/06/1999",103)
|
|
|
|
|