pick up nulls spaces and zeros

תשובה pick up nulls spaces and zeros

  • Samstag, 8. September 2012 00:20
     
      Enthält Code

    i would like to pick up even zeros including null and zeros in SINGLE where clause

    DECLARE @t TABLE (idt CHAR (5))
    INSERT INTO @t VALUES  ( '') ,('000') , (' '), (NULL), ('123')
    
      SELECT * FROM @t      
      SELECT * FROM @t WHERE ISNULL(idt,'') = '' 

    .


    • Bearbeitet Dkuud Samstag, 8. September 2012 00:21
    •  

Alle Antworten