#1   Report Post  
Posted to microsoft.public.excel.misc
baaul
 
Posts: n/a
Default Excel SQL Query


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

  #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



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
AHHH! Again JAA149 Excel Discussion (Misc queries) 0 October 31st 05 11:36 AM
Query Excel database from desktop Lost But Trying Hard Excel Discussion (Misc queries) 1 September 11th 05 01:46 PM
Micosoft Query does not export result set to excel Peter McAuley Excel Worksheet Functions 0 June 16th 05 08:53 PM
Excel Query Wizard Date Format aldsv Excel Discussion (Misc queries) 1 May 31st 05 12:44 PM
Excel Query Via Sybase Gary Excel Discussion (Misc queries) 1 December 7th 04 07:58 PM


All times are GMT +1. The time now is 11:13 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"