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.
定期的なイベントを含むカレンダー イベントの日付を保存しています。テーブルが巨大になる可能性があります。私のクエリのほとんどは 1 か月の範囲 (つまり、eventstart >= '1/1/2001' および eventstop <= '1/31/2001') のためのものなので、クエリで時間はあまり気にしません。
日付列と日時列をクエリした場合、範囲クエリのパフォーマンスは向上しますか?
ルール 1) 可能な最大値に対応できる最小のデータ サイズを常に使用します。
http://www.sql-server-performance.com/2007/datatypes/