How would you convert a string like '2008-01-01 11:09:11' to a datetime ? The string is from outside of Sybase and I want to know how to insert it as a datetime
+1
A:
Use the DATETIME
function.
As an aside, Sybase SQL Anywhere has its own Stackoverflow clone which has Sybase engineers frequenting it.
Ben S
2009-12-10 22:36:31
That site would have saved me TONS of work when I was first learning sybasde. +1 to you for the ink.
David Stratton
2009-12-10 22:37:50
It just opened recently (a month or two ago). I'm actually an intern at Sybase right now, so I try to promote it as much as I can.
Ben S
2009-12-10 22:38:36
A:
SybaseTeam Discussion Forums This is just a promotion for sybaseteam.com the ultimate sybase forum on the web.
John
2009-12-18 10:42:35