Forum Moderators: open
But to answerr the question - It probably is possible with a stored procedure, or UDF - I cant think off the top of my head how you could do it using a standard SQL View.
http: //www.sqlteam.com/item.asp?ItemID=2368
The article is a bit long winded - an example of how to do it is at the bottom, which I'm sure can be tweaked to work in a view.
This article also has examples:
http: //www.aspfaq.com/show.asp?id=2529