Viewing post 1 (of 1 total)
If you want to store the date of vidhya sagar query into a variable you would run this code.
DECLARE @DateInserted DATETIME
SET @DateInserted = CONVERT(DATETIME, (SELECT TOP(1) SUBSTRING(mdate,1,20) FROM ##tmp))
Thanks...
September 24, 2009 at 3:26 pm
#1058292