Hellow there,
I have a SQL 2005 Table with 2 Columns:
Column Name: Data Type:
PERIOD_END_DATE Nvarchar(50)
Date_Period_End Datetime
___________________________________________________________
Currently Data in Column's:
PERIOD_END_DATE Date_Period_End
010909 Null
123108 Null
012209 Null
My Question is how do I update Column Date_Period_End (mm/dd/yyyy format)from Column PERIOD_END_DATE?
My desired result after T-SQL:
PERIOD_END_DATE Date_Period_End
010909 01/09/2009
123108 12/31/2008
012209 01/22/2009
Basically I would like to update Datetime Type column Date_Period_End from Nvarchar Type column PERIOD_END_DATE in the same table. Any help will be sincerely appreciated..
Thank You
I have a SQL 2005 Table with 2 Columns:
Column Name: Data Type:
PERIOD_END_DATE Nvarchar(50)
Date_Period_End Datetime
___________________________________________________________
Currently Data in Column's:
PERIOD_END_DATE Date_Period_End
010909 Null
123108 Null
012209 Null
My Question is how do I update Column Date_Period_End (mm/dd/yyyy format)from Column PERIOD_END_DATE?
My desired result after T-SQL:
PERIOD_END_DATE Date_Period_End
010909 01/09/2009
123108 12/31/2008
012209 01/22/2009
Basically I would like to update Datetime Type column Date_Period_End from Nvarchar Type column PERIOD_END_DATE in the same table. Any help will be sincerely appreciated..
Thank You