私は文字列を持っています。"2008-01-01 11:09:11".
これを日時に変換するにはどうすればよいですか?
If you're using it as a literal string in, say, a SELECT
statement or a stored procedure call, the conversion is automatic.
If you've got it in a variable, convert(datetime, @stringDateTime)
should work.
タイムスタンプ データ型は次のように定義されてvarbinary(8) null
おり、時間または日付と何らかの関係があります。
sybase ではタイムスタンプを日時に変換できません。