+ Reply to Thread
Results 1 to 2 of 2

Excel SQL Query

  1. #1
    Registered User
    Join Date
    10-04-2003
    Posts
    1

    Question 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

  2. #2
    Andrew Houghton
    Guest

    Re: Excel SQL Query

    Try adding " OR 'code' <>""

    "baaul" <[email protected]> wrote in
    message news:[email protected]...
    >
    > 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 to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1