Results 1 to 3 of 3

SQL against Excel Table returns nothing when "Where [ColumnName] = ""

Threaded View

  1. #1
    Registered User
    Join Date
    08-30-2010
    Location
    Mpls, MN
    MS-Off Ver
    Excel 2003
    Posts
    17

    SQL against Excel Table returns nothing when "Where [ColumnName] = ""

    I have a sub that filters a table from one worksheet to a new sheet using SQL.

    The SQL statement: SELECT * FROM [STAMP$] WHERE [Approver_ID] = "my name"; WORKS.

    The SQL statement SELECT * FROM [STAMP$] WHERE [Approver_ID] = ""; DOES NOT WORK. (returns an empty sheet)

    What syntax would I use to get the blank rows from the table I am running the SQL against.

    Thanks in advance.
    Last edited by rgi; 11-19-2010 at 04:27 PM.

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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