Skip to main content

How i clean this table and for what this table need?

[Authorization].[OAuthSessionState]

 

Hi BohdanMohylnyi,



 



It sounds like the table is getting too large. Out of curiosity, can you run the following SQL query?



 





SELECT count (*) FROM [Authorization].[OAuthSessionState]
WHERE DATEDIFF(s, [CreatedUtc], SYSUTCDATETIME()) > [ExpiresInSeconds]



Reply