SQL Engine performs implicit conversion from TIME to TIMESTAMP data types in some cases. However, implicit conversion from TIME to TIMESTAMP is not supported for comparisons. See Implicit Conversion of DateTime Types.
The following conversions are supported:
From source type... | To target type... |
---|---|
TIME | TIMESTAMP |
TIMESTAMP WITH TIME ZONE | |
TIME WITH TIME ZONE | TIMESTAMP |
TIMESTAMP WITH TIME ZONE |