Skip to content
Prev 75727 / 398502 Next

RODBC and sqlColumns

Ok, I understand that.  Then, how do I get the columns for a table that
is housed in a schema?  And, second, why does the following not work (or
at least partially work).  It creates the new table in the X schema but
then does not populate the table (and returns a sqlColumns() error.

sqlSave(db,x,"X.test",T,F)

Thanks.

Ben Stabler
Project Manager
PTV America, Inc.
1128 NE 2nd St, Suite 204
Corvallis, OR 97330
541-754-6836 x205
541-754-6837 fax
www.ptvamerica.com



-----Original Message-----
From: Prof Brian Ripley [mailto:ripley at stats.ox.ac.uk] 
Sent: Wednesday, August 17, 2005 12:59 AM
To: Ben Stabler
Cc: r-help at stat.math.ethz.ch
Subject: Re: [R] RODBC and sqlColumns


AFAIK "." is not a valid part of an SQL table name. I think the help
files 
are perfectly clear as to what is supported:

  sqtable: character: a database table name accessible from the
           connected dsn.

Why do you think "X.test" is a `database table name'?
On Tue, 16 Aug 2005, Ben Stabler wrote:

            
SQL_DATA_TYPE
DISPLAY_SIZE