Home Forums SQL Server 2005 T-SQL (SS2K5) Set Variable based on a SELECT RE: Set Variable based on a SELECT
rew-370421
Hall of Fame
Points: 3640
More actions
February 10, 2010 at 8:44 am
#1116889
Thanks Markus and Steve! You guyes are great! That works!
But since @mydate is declared as varchar(20), can I still INSERT it into a TABLE's field that is defined as DATETIME? How does that work?