I have:
DECLARE @Authenticated BIT
If @@ROWCOUNT > 0
begin
SELECT @Authenticated = 1
end ELSE
begin
SELECT @Authenticated = 0
end
Is there a way I could do this without the BEGIN END and also is setting a BIT datatype a good way to represent True of False?