The statement uses the throw_start_date function for timestamp to select a sample, not a datetime.
If you need the timestamp value from the datetime2 column, you can use the DatePart function to extract the parts of the date and create it yourself.
For instance:
declare @date datetime2
set @date = GETUTCDATE()
select @date,
DATEPART(hour, @date),
DATEPART(minute, @date),
DATEPART(second, @date)
MSDN reference to the DatePart function .
Not sure why you are getting this error, I did not have the same problem. The example below works great in my Management Studio 2008.
create table
(
OrderId int,
OrderDate datetime2
)
insert into
(OrderId, OrderDate)
values
(1, GetUTCDate())
select *, CAST(OrderDate as datetime)
from
drop table
source
share