Table of ContentsPreviousNext

Ispirer             Ispirer


Ispirer SQLWays データベース移行ソフトウェア

date, datetime, smalldatetime, time および timestamp

日付および時刻を表現する日付および時刻データ型

date

date データ型は year, month および day を格納するのに使われます。

値の範囲は January 1, 0001 から December 31, 9999 です。格納サイズは 4 バイトです。

TRUNCATE_DATE_VALUES オプションが OFFの場合、 date カラムは hour および minute を格納します。

datetime
smalldatetime

これらのデータがは組込みデータ型 timestampのエイリアスです。これらのデータ型は year, month, day, hour, minute, second および secondの小数点部を格納します。小数点部は 6 数字で格納されます。

値の範囲は January 1, 0001 00:00:00.000000 から December 31, 9999 23:59:59.999999 です。格納サイズは 8 バイトです。

これらのデータ型は Adaptive Server Enterpriseとの互換性の為に提供されています。

time

このデータ型は hour, minute, second および secondの小数点部を格納します。小数点部は 6 数字で格納され、格納サイズは 8 バイトです。

timestamp

このデータ型は year, month, day, hour, minute, second および secondの小数点部を格納します。小数点部は 6 数字で格納されます。

日付の範囲は date データ型と同様です。しかし使用可能なのは 1600-02-28 23:59:59 から 7911-01-01 00:00:00 です。もし値が範囲外なら、time 部分は不完全になります。格納サイズは 8 バイト必要です。


Table of ContentsPreviousNext
Ispirer             Ispirer
Copyright © 1999-2015 Ispirer Systems Ltd. Ispirer and SQLWays are trademarks of Ispirer Systems Ltd. All other product names may be trademarks of the respective companies. All rights reserved.