Re: [Rd] RODBC bug or doc error in sqlFetch on xls files (PR#7354)

From: M. Edward Borasky <>
Date: Wed 10 Nov 2004 - 14:52:23 EST

On Tue, 2004-11-09 at 10:23, wrote:
> R 2.0.0 patched under win2000. MS Office Excel 2003. ODBC Drivers?
> This may not come as a surprise -- sqlFetch() (and perhaps other ?) appear
> not to handle table/worksheet names with spaces in them in Excel tables. I
> was not able to find documentation that specifically mentioned this,
> although the Help pages vaguely hinted that there might be difficulty with
> Excel's "peculiar handling" of table names. Anyway, here is a sequence of
> actions that illustrate the issue.

IIRC the SQL Language standard specifically requires table and database names to

  1. start with a letter,
  2. contain nothing except letters and digits and the "underscore", and
  3. be at most 31 characters long.

In other words, Excel is doing something that many other tools don't support.

(and don't get me started on case (in)sensitivity.) mailing list Received on Wed Nov 10 14:59:08 2004

This archive was generated by hypermail 2.1.8 : Wed 10 Nov 2004 - 15:09:50 EST