Article View: borland.public.cppbuilder.database.ado
Article #146Syntax for query-ing MS Excel data
From: Vladimir Stefanovic
Date: Thu, 12 Apr 2007 21:04
Date: Thu, 12 Apr 2007 21:04
20 lines
1268 bytes
1268 bytes
Hi, I have some questions on right syntax for querying MS EXCEL data. This syntax: SELECT * FROM [Sheet1$] ...works fine. But this one: SELECT * FROM [Sheet1$A1:B3] ...doesn't (I cought an exception in try&catch). Does anyone know how can I select only sheets in some range (A1 to B3, for example) -- Best Regards, Vladimir Stefanovic
Technical Details
Message-ID:
<461e9efb$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 10698b,9fc1933a1ef3478,start X-Google-Attributes: gid10698b,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Vladimir Stefanovic" <antivari@po.sbb.co.yu> Newsgroups: borland.public.cppbuilder.database.ado Subject: Syntax for query-ing MS Excel data Date: Thu, 12 Apr 2007 23:04:56 +0200 Lines: 22 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-RFC2646: Format=Flowed; Original NNTP-Posting-Host: 87.116.181.111 Message-ID: <461e9efb$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1176411899 87.116.181.111 (12 Apr 2007 14:04:59 -0800) Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail