SQL Server Performance Forum – Threads Archive
How to build this queryHi Guys,
I’m really confused to build this query.
consider this sample data
http://sqljunkies.com/WebLog/amachanic/archive/2004/11/10/5065.aspx?Pending=true Madhivanan Failing to plan is Planning to fail
Thanks alot Madhi,
Even i was thinking of UDF but then i thought of giving it to you gurus a try.