• No not in a stored proc in SQL 2005. You can use XML variable instead or use a table valued function if possible in your case.

    "Keep Trying"