select * from AIAUser select * from dbo.IncorrectLoginAttempts where UserId =1 Begin tran Update IncorrectLoginAttempts set CntIncorrectLogins =0 where UserId =1 Commit