Using SQL Server 2014:
I am working with a few large log tables and one of their columns is CreateDate
of datatype DateTime
.
There are a few indexes based on the CreateDate
columns. All tables already include large number to rows.
Question #1: is there any good reason not to convert all of the CreateDate
columns to SMALLDATETIME
type?
Question #2: is there any safe alter table table statement that converts existing DATETIME
data to SMALLDATETIME
without any error?
Question #3: when I use ALTER TABLE
, what happens to existing indexes based on CreateDate
?