1

Possible Duplicate:
How to convert a string to a date in sybase

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

Community
  • 1
  • 1
Janis
  • 233
  • 2
  • 6
  • 13

1 Answers1

0

Sybase supports a number of default formats to get the data into a datetime column. Here is a website to list the many formats.

j0k
  • 22,600
  • 28
  • 79
  • 90