Re: [R] sqlQuery

From: Ernesto Jardim <ernesto_at_ipimar.pt>
Date: Thu 12 May 2005 - 18:27:52 EST

Navarre Sabine (stu) wrote:

>Hello,
>
>
>(sqlQuery(channel, "select * from......"))
>
>I would like to know if it's possible to put a file name in the
>parameters of the function 'sqlQuery' instead of putting the query .
>If it's possible, what kind of extension for my file have I need?
>
>That's for your help
>
>Sabine
>
> [[alternative HTML version deleted]]
>
>______________________________________________
>R-help@stat.math.ethz.ch mailing list
>https://stat.ethz.ch/mailman/listinfo/r-help
>PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
>
>

I think you can just create a character vector with the sql string and call sqlQuery(chanel, myfile)

Regards

EJ



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Thu May 12 18:31:03 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:31:42 EST