> I was asking if it's possible to achieve using a Stored Procedure in SQL Server 2000. yup adapt the code in this article -- http://sqlteam.com/item.asp?ItemID=637 but do not name your procedure starting with sp_ rudy