driver-Snowflake function

Connecting to Snowflake via ODBC

Connecting to Snowflake via ODBC

odbcConnectionColumns()

If the catalog, or the schema arguments are NULL, attempt to infer by querying for CURRENT_DATABASE() and CURRENT_SCHEMA(). We do this to aid with performance, as the SQLColumns method is more performant when restricted to a particular DB/schema.

## S4 method for signature 'Snowflake,character' dbExistsTableForWrite(conn, name, ..., catalog_name = NULL, schema_name = NULL)

Arguments

  • conn: A DBI::DBIConnection object, as returned by dbConnect().

  • name: The table name, passed on to dbQuoteIdentifier(). Options are:

    • a character string with the unquoted DBMS table name, e.g. "table_name",
    • a call to Id() with components to the fully qualified table name, e.g. Id(schema = "my_schema", table = "table_name")
    • a call to SQL() with the quoted and fully qualified table name given verbatim, e.g. SQL('"my_schema"."table_name"')
  • ...: Other parameters passed on to methods.

  • catalog_name, schema_name: Catalog and schema names.

  • Maintainer: Hadley Wickham
  • License: MIT + file LICENSE
  • Last published: 2025-03-27