Use SQL Server for Token Persistence

Use SQL Server for Token Persistence

I need to use SQL Server, not MySQL, for token persistence.

I have seen that I can create a custom persistence, but I'm not sure how to implement the various methods. Is there any example code available?