/ Published in: SQL
This is not my code but I really like the fact that it's not using a COM object to do it's task such as the one I've been using for years.
URL: http://www.mssqltips.com/tip.asp?tip=1706
URL: http://www.mssqltips.com/tip.asp?tip=1706