Forum Discussion

ranaanees's avatar
ranaanees
Helper I
8 years ago
Solved

How to select all rows where date is empty?

I have an employee table with End Of Service column of type Date. Once an employee left the company then End Of Service column has its last working date value otherwise this field is empty. Its a MySql table.

Please see the Pic.

What should I enter in the Value to select all rows in the table where End_of_service is null OR what is best wat to get all rows?

 

  • Anonymous's avatar
    Anonymous
    8 years ago

    Hi ranaanees

     

    Why dont you try this? Simply select null in filter, so all rows with empty date will appear.

     

     

     

    Thanks

    Raj

  • ranaanees's avatar
    ranaanees
    8 years ago

    Now I am selecting records from database table based on direct query with filter where EOS != '' and its working.

4 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi ranaanees

     

    Why dont you try this? Simply select null in filter, so all rows with empty date will appear.

     

     

     

    Thanks

    Raj

    • ranaanees's avatar
      ranaanees
      Helper I

      hii,

      there is no null value in my list. maybe not properly set at field level.

      please guide how to handel this issue.

      thanks

  • v-juanli-msft's avatar
    v-juanli-msft
    Community Support

    Hi ranaanees

    What should I enter in the Value to select all rows in the table where End_of_service is null OR what is best wat to get all rows

    what's the value you'd like to select, could you give me an example?

     

    Best Regards

    Maggie

    • ranaanees's avatar
      ranaanees
      Helper I

      Now I am selecting records from database table based on direct query with filter where EOS != '' and its working.