U kunt de kolom definiëren in uw CREATE TABLE
als:
AgeInMinutes as (DATEDIFF(minute, PublishDate, GETDATE())
Of doe gewoon
ALTER TABLE Book
ADD AgeInMinutes as (DATEDIFF(minute, PublishDate, GETDATE())
U kunt de kolom definiëren in uw CREATE TABLE
als:
AgeInMinutes as (DATEDIFF(minute, PublishDate, GETDATE())
Of doe gewoon
ALTER TABLE Book
ADD AgeInMinutes as (DATEDIFF(minute, PublishDate, GETDATE())