Extended stored procedures that make loopback connections into the same SQL Server are now supported. Call the srv_getbindtoken function to enable the loopback connection to share transaction lock space with the original client connection. Sample code in the Programmer's Toolkit demonstrates how to build an extended stored procedure that connects back into SQL Server.