![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I'm trying create a calculated column to add 1 month to a date from another column. CREATE TABLE [dbo].[test_table_date]( [date1] [datetime] NOT NULL, [date2] AS ([date1]+ ???) ) ON [PRIMARY] I have tried a couple of things with no luck.Please note that I am a complete novice to TSQL. Hope someone can help. ....AS DATEADD(MONTH, 1, [date1]) |
![]() |
| Thread Tools | |
| Display Modes | |
| |