Viewing 4 posts - 1 through 5 (of 5 total)
Ok, tested and works perfectly, thanks for all the help.
The wierd thing is that it works fine as a standalone T-SQL command in Management Studio as
ALTER TABLE extract ADD NewLastLoginDate...
August 18, 2010 at 8:43 am
Ideally Id love to store the date time as it is, and get the MI guys to convert the data in their queries...but I am where I am.
In the solution...
August 18, 2010 at 4:55 am
GilaMonster (8/17/2010)
DECLARE @Done Bit;
Set...
August 17, 2010 at 8:56 am
The recovery model is SIMPLE
would you batch it with a WHERE...
USE DBSUPPORT
UPDATE extract
SET NewLastLoginDate = convert(datetime, lastlogindate, 103) WHERE LastLoginDate < 2010
GO
USE DBSUPPORT
UPDATE extract
SET NewLastLoginDate = convert(datetime, lastlogindate,...
August 17, 2010 at 3:58 am
Viewing 4 posts - 1 through 5 (of 5 total)