Skip to content

sqlquery doesn't work with RODBC #1

@philibe

Description

@philibe

Bonjour ;)

DreamRs/sqlquery could be helpful but it doesn't work with RODBC.

library(RODBC)
library(RODBCext)
connexion_bdd_odbc_txt<- 'driver={ODBC Driver 17 for SQL Server}; server=xxxx,yyyy;database=ma_base_de_donnee;uid=uuuu;pwd=pppp;')
connexion_bdd<-odbcDriverConnect(connexion_bdd_odbc_txt)
library(sqlquery)
sql_query(conn = connexion_bdd)
Error in (function (classes, fdef, mtable)  : 
  unable to find an inherited method for function ‘dbListTables’ for signature ‘"RODBC"’

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions