HomeForum
Welcome, Guest

Excel SQL Syntax
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Excel SQL Syntax

Excel SQL Syntax 1 year, 2 months ago #1797

  • George
  • OFFLINE
  • Junior Boarder
  • Posts: 36
  • Karma: 0
I'm trying to add contents of cell B3 on worksheet "ALL AREA CODES" into the extract to store into column effective_date.
How do I do this?

George

Re: Excel SQL Syntax 1 year, 2 months ago #1798

  • admin
  • OFFLINE
  • Moderator
  • Posts: 2181
  • Karma: 12
George

You can query any part of excel file by using

Unnamed Range

To specify an unnamed range of cells as your record source, append standard Excel row/column notation to the end of the sheet name in the square brackets. For example:
SELECT * FROM [Sheet1$A1:B10]


select * from "ALL AREA CODES$B2:B3", <===== That is the solution
"'ALL AREA CODES$'FilterDatabase"

Excel is tricky to extract the data from...

Mike
  • Page:
  • 1
Time to create page: 0.16 seconds

Testimonials

We found Advanced ETL Processor remarkably easy to use and DBSL support team provides outstanding value and service.

David Thomson
Marketing Manager

User Login

You only need to log in or register to use our support forum



Our customers

BP

BBC

HSBC


Databases we work with

Go to top