Thread: Excel SQL Query
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Andrew Houghton
 
Posts: n/a
Default Excel SQL Query

Try adding " OR 'code' <""

"baaul" wrote in
message ...

I need help with the Excel query below. I'd like my query to "ONLY"
SELECT from sheet1$ all rows where the `code` column contains data.

Thanks in advance!

===============

SELECT `code`,`description` from `sheet1$`WHERE `code` IS NOT NULL


--
baaul
------------------------------------------------------------------------
baaul's Profile:
http://www.excelforum.com/member.php...fo&userid=1314
View this thread: http://www.excelforum.com/showthread...hreadid=502630