Hi i'm using smallDateTime for column InsertDate,
In the table i have 4 MID rows, each with a CredStr & MID
I'm trying to update the record where the InsertDate is the oldest date, this is what i have, any thoughts on this one?
Thanks.
In the table i have 4 MID rows, each with a CredStr & MID
I'm trying to update the record where the InsertDate is the oldest date, this is what i have, any thoughts on this one?
Thanks.
Code:
UPDATE [_Credent] SET CredtStr=@CredStr WHERE
(Selete Min(InsertDate) from [_Credent]) AND MID=@MID