Hello every one Please let me know how to Implement select query in claims table. My claims table this type
Id UserId ClaimType ClaimValue
1 2 ABC 1
2 3 XYZ 2
Now how to get record based on ClaimType XYZ. I have try this query but not working
select * from Auth.AspNetUserClaims where ClaimType.XYZ='2'

Amit MohantyRank #112 · 20K reputationPosted May 4, 2022, 2:09 AM EDT
RohanRank #1,548 · 1K reputationPosted May 4, 2022, 3:57 AM EDT
Uttam KumarRank #1,076 · 1.8K reputationPosted May 3, 2022, 3:16 AM EDT
select * from Auth.AspNetUserClaims where ClaimType='XYZ'Try this query
RohanRank #1,548 · 1K reputationPosted May 3, 2022, 3:33 AM EDT
SELECT * FROM Auth.Claims WHERE ClaimType.TrialStatus='active' - This query not working
RohanRank #1,548 · 1K reputationPosted May 3, 2022, 3:42 AM EDT
Murali PRank #6,159 · 275 reputationPosted May 3, 2022, 7:58 AM EDT