Jump to content

[SOLVED] selecting based on colum only containing values.


Yammyguy

Recommended Posts

Hello, I'm hoping someone can answer my question..

 

I'm trying to run a query to return only rows that have a value in a specific column.  I've already tried running this:

 

SELECT * FROM [TABLE]
WHERE DEVICE_ID = 60
AND DEVICE_CUSTOMER IS NOT NULL

 

The problem is that this still returns blank rows because it's NOT NULL, but it doesn't have any data.  I would like only the rows that HAVE some sort of text in there?

 

Any quick solutions anyone?

 

Thanks in advance!

 

~C.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.