any way to acheive the first result by tweaking the second tsql?
please advise
In short: No, there is no way, without stopping your "software" to change your original query.
_____________________________________________
"The only true wisdom is in knowing you know nothing"
"O skol'ko nam otkrytiy chudnyh prevnosit microsofta duh!":-D
(So many miracle inventions provided by MS to us...)
How to post your question to get the best and quick help[/url]