Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. Database
  4. How to do a Select/Where x=NULL

How to do a Select/Where x=NULL

Scheduled Pinned Locked Moved Database
questiontutorial
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    TheJudeDude
    wrote on last edited by
    #1

    I have a column that is a bit. I am looking to Select a row where this column has a null value. I have tried SELECT * From Table Where x = NULL...that doesn't work. When I look at the table through the manager, I see as the value. How do I program this? Thank You,

    Jude

    C M 2 Replies Last reply
    0
    • T TheJudeDude

      I have a column that is a bit. I am looking to Select a row where this column has a null value. I have tried SELECT * From Table Where x = NULL...that doesn't work. When I look at the table through the manager, I see as the value. How do I program this? Thank You,

      Jude

      C Offline
      C Offline
      Colin Angus Mackay
      wrote on last edited by
      #2

      TheJudeDude wrote:

      I have tried SELECT * From Table Where x = NULL...that doesn't work.

      SELECT * FROM Table WHERE x IS NULL


      Upcoming Scottish Developers events: * UK Security Evangelists On Tour (2nd November, Edinburgh) * Developer Day Scotland: are you interested in speaking or attending? My: Website | Blog

      T 1 Reply Last reply
      0
      • C Colin Angus Mackay

        TheJudeDude wrote:

        I have tried SELECT * From Table Where x = NULL...that doesn't work.

        SELECT * FROM Table WHERE x IS NULL


        Upcoming Scottish Developers events: * UK Security Evangelists On Tour (2nd November, Edinburgh) * Developer Day Scotland: are you interested in speaking or attending? My: Website | Blog

        T Offline
        T Offline
        TheJudeDude
        wrote on last edited by
        #3

        Thank you very much

        Jude

        1 Reply Last reply
        0
        • T TheJudeDude

          I have a column that is a bit. I am looking to Select a row where this column has a null value. I have tried SELECT * From Table Where x = NULL...that doesn't work. When I look at the table through the manager, I see as the value. How do I program this? Thank You,

          Jude

          M Offline
          M Offline
          Member_3269611
          wrote on last edited by
          #4

          Hi, Select * from TABLE Where X Is Null Pandian S

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups