Home Forums Article Discussions Article Discussions by Author Discuss content posted by mverma4you SELECT FUN RE: SELECT FUN
SanjayAttray
SSChampion
Points: 13157
More actions
April 22, 2009 at 12:19 pm
#982404
John,
With " order by 2 desc " are you not forcing the query to get result in the way you had desired?
select NULL,'manoj'
union select Null,'1'
union select NULL,'manoj'
order by 2 desc
SQL DBA.