Hi all
I need to create a report that tells me if a user was able to authenticate or not based on 12 months worth of auth records I have downloaded.
The two columns I am interested in are
TR_USERID
TR_RESULT
Basically what I want to do is
For each row in TR_USERID, check TR_RESULT.
If TR_RESULT = accept, then give me an output of 1 in column TR_ID
If TR_RESULT = reject then give me an output of 0 in column TR_ID
I then need to collate the data to see if any user has had an reject and then subsequently got an accept or if they started with a reject and kept getting rejects.
Thanks in advance
I need to create a report that tells me if a user was able to authenticate or not based on 12 months worth of auth records I have downloaded.
The two columns I am interested in are
TR_USERID
TR_RESULT
Basically what I want to do is
For each row in TR_USERID, check TR_RESULT.
If TR_RESULT = accept, then give me an output of 1 in column TR_ID
If TR_RESULT = reject then give me an output of 0 in column TR_ID
I then need to collate the data to see if any user has had an reject and then subsequently got an accept or if they started with a reject and kept getting rejects.
Thanks in advance