Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
テキストファイルにせずにdatetime変数の時刻部分のみを取得する必要があるため、varcharはありません
varchar 変換なしで "1/2/2013 9:11:02" から 9:11:02 だけを取得する方法はありますか?
select CAST('1/2/2013 9:11:02' as TIME)
これにより、末尾に「.00 ...」が付いた時間が表示されます