0
0

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.

【データのエクスポート/Excel】ODBCドライバを使用して、BigQueryのデータをExcelにエクスポートする

Last updated at Posted at 2022-11-02

今回の課題

BigQueryのテーブルをスプレッドシートにエクスポートしたかったが、
スプレッドシートでは「行数が多すぎる」というエラーが発生してしまった。
スプレッドシートにはデータをエクスポートできないので、
ODBCドライバを使用して、エクセルにエクスポートすることにした。

※参考:Spreadsheets (スプレッドシート)の最大行数と最大列数はいくつですか?

Excelにインポートした方法

BigQueryにODBCドライバをインストールする方法で実施した。

手順

  1. まずBigQuery用のODBCドライバをインストールする。
    ODBCドライバのインストール先

  2. Excelのデータタブ>その他のデータソースから>Microsoft Query からをクリック
    image.png

  3. データソースの選択で、BigQueryをクリックする。
    image.png

  4. 使用するテーブルを選択し、抽出したい列を選択する。
    image.png

以上です。

0
0
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
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?