On this site : http://scripts.readify.net/Scripts.aspx , you will find some interesting sample scripts, some of them showing interaction with BizTalk server and SQL Server.