Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

README.md

Connecting Go and Snowflake with ADBC

Instructions

Prerequisites

  1. Install Go

  2. Install dbc

Connect to Snowflake

  1. Install the Snowflake ADBC driver:

    dbc install snowflake
  2. Customize the Go program main.go

    • Change the connection arguments in the NewDatabase() call
    • If you changed the database and schema, also change the SQL SELECT statement in stmt.SetSqlQuery()
  3. Run the Go program:

    go mod tidy
    go run main.go