Results 1 to 2 of 2

Thread: How to remove NULL values ?

  1. #1
    Join Date
    Aug 2004
    Posts
    52

    How to remove NULL values ?

    I've 2 columns after executing query,

    one column from those 2 is calculated column.

    I am getting resultset as follows



    ACCOUNT ¦(calculated column)

    ------------------------------

    100 ¦alpha

    100 ¦NULL



    My concern is how should I remove record with NULL from final resultset ?

    If I give some name to that calculated column say 'Name'

    and tried to put in main query as

    "where 'Name' IS NOT NULL"; it doesnot work.

    Can you have any workaround for it?

  2. #2
    Join Date
    Nov 2002
    Location
    New Jersey, USA
    Posts
    3,932
    Post your SQL Statement,

    You should be able to do

    select ...
    where (calculation) is not nulll

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •