title: Convert SQL Server text to sql_handle
body: <p>I know how to get a SQL statement from a <code>sql_handle</code>, using <code>CROSS APPLY sys.dm_exec_sql_text(sql_handle);</code>, but how I can get the <code>sql_handle</code> from a SQL statement?</p>