IBM WCS DB2 SORTING DESC WITH NULL VALUES IN LAST

SELECT * FROM USERS ORDER BY   CASE when REGISTRATION is null then 1 else 0 end, REGISTRATION DESC 

Comments

  1. Article ideas very clear . Your writing style is very unique. I very much appreciate the articles you write.
    TechTanker
    TechTanker

    ReplyDelete

Post a Comment

Popular posts from this blog

Websphere Commerce Data Load using CSV \Websphere Commerce Data Load using XML

Websphere Commerce Catalog Subsystem

Calculation Framework in Websphere Commerce.