Nothing too crazy. All I did was take the Odbc version that is on http://msdn.microsoft.com/en-us/library/6tc47t75(v=vs.100).aspx and port it to Sql.
Hopefully it can help someone save some time. I'll be testing/debugging this thing in the next couple of days. Hopefully i can fine tune it.