Select query Works in Oracle Not MS-SQL Fix??

Original text of this message