Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Select Non Blank cells.

Status
Not open for further replies.

westex96

MIS
Mar 31, 2007
19
US
Hi,

I would like to select the nonblank cells in a row using the select command. This row contains several different items I need to select. How do I do that? Thank you in advance for your help!

If you use excel then you can filter by nonblank cells but my file has too many data points to use excel. : )

Cheers,

Ray

Example:

Site Event
A yes
B Maybe
C no
D
E
F

G extra
H
I Thanks
J
K


 
Like this ?
SELECT Site, Event
FROM yourTable
WHERE Event IS NOT NULL

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top