Automate

 View Only
  • 1.  Query Criteria: Equals Blank

    Posted 04-26-2019 08:35
    I'd like to confirm how ya'll enter criteria in a query to say if field X equals blank. Should it be "=" and then in the value box "{blank}"?  I found "Not Null" is working for my results but not sure if appropriate.

    ------------------------------
    Jamie Borja | SAP BSA IT
    Bloomin Brands, Inc. Tampa, FL
    ------------------------------


  • 2.  RE: Query Criteria: Equals Blank

    Employee
    Posted 04-27-2019 09:37
    HI Jamie

    You are correct.  Null and and Not Null are common when working with databases.  It all depends on the tools/applications you are working with.

    • Not Null   is equivalent to   !=""  or <> ""  and also   Is Not Blank 
    • Is Null       is equivalent to   =""     and also   Is Blank

    Best Regards,
    Sigrid

    ------------------------------
    Sigrid Kok
    PSE | Winshuttle North America
    ------------------------------



  • 3.  RE: Query Criteria: Equals Blank

    Posted 04-29-2019 08:38
    Null and Blank are NOT the same thing. in ASCII hexadecimal representation NULL is 00 and blank is 20. Therefore, "" (NULL) is not equal to " " (BLANK).

    • Not Null  is equivalent to  != ""   or <> ""  
    • Not Blank is equivalent to  != " "  or <> " "  
    • Is Null   is equivalent to  = ""    
    • Is Blank  is equivalent to  = " "    
    Thank you,
    Jack McGarry | Sr. Business Systems Analyst – SAP Finance | Airgas, an Air Liquide company






  • 4.  RE: Query Criteria: Equals Blank

    Employee
    Posted 04-29-2019 09:30
    I stand corrected, Jack!  :)

    ------------------------------
    Sigrid Kok
    PSE | Winshuttle North America
    ------------------------------