2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

ODBCでSnowflakeに接続する

Posted at

WindowsのODBCでSnowflakeに接続します。

  • テスト環境
    • Windows 11 64bit
    • Snowflake ODBC ドライバー 2.25.2

ODBCドライバーのダウンロード

以下からODBCドライバーをダウンロードします。ここでは少し古い2.25.2のバージョンのドライバーを使います。

Windows用 ODBC ドライバーのインストールおよび構成 — Snowflake Documentation

image.png

image.png

image.png

image.png

ODBCドライバーの導入

snowflake64_odbc-2.25.2.msiを起動します。
image.png

「Next」で進みます。
image.png

「Next」で進みます。
image.png

「Install」で進みます。
image.png

「Finish」します。
image.png

ODBCの設定

ODBCデータソースアドミニストレーター(64bit)を起動します。
image.png

ユーザーDSNかシステムDSNで「追加」をします。
image.png

「SnowflakeDSIIDriver」を選びます。
image.png

WebブラウザでSnowflakeのコンソールに入り、「管理者」_「アカウント」を開き、をクリックします。アカウントのURLを取得します。
image.png

接続したいデータベースも確認しておきます。ここではSNOWFLAKE_SAMPLE_DATAにつなぎます。
image.png

利用するウェアハウスも確認しておきます。ここではSFTESTを使います。
image.png

ODBCデータソースアドミニストレーターに戻ります。
「Data Source」には任意の名前を選びます。
「Server」には上で得たURLから「https://」を除いたホスト名のみを貼り付けます。
「Database」と「Warehouse」はコンソールで確認したものを入力します。この例ではSNOWFLAKE_SAMPLE_DATAとSFTESTです。
image.png

「Test」ボタンで接続確認をします。テストが成功したらOKで保存します。

image.png

2
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?