https://am2.co/2016/02/decoding_sql_handle/
Decoding sql_handle