"I know I should use the Computed Column Specification, but I don't know the Syntax or the Function I should use."I prefer to use a VIEW. I've had problems with computed columns in the past when I came to do something like adding an indexed view or instead-of trigger on a table. You may not be doing that, or planning to do that, but its a PITA if you want to do it and then find you can't!CREATE VIEW dbo.MyTableName_VIEWASSELECT [V_MyPK] = MyPK, [V_number_of_nights] = datediff(day, Check_In_date, Check_Out_Date)FROM dbo.MyTableName
and then in your queries:SELECT Check_In_date, Check_Out_Date, V_number_of_nights #FROM dbo.MyTableName JOIN MyTableName_VIEW ON V_MyPK = MyPK