Table of ContentsPreviousNext

Ispirer             Ispirer


Ispirer SQLWays データベース移行ソフトウェア

Excel のテーブル名を指定する構文

Excel ファイルはひとつ又はそれ以上のシートを含んでいます。 Excel ODBC ドライバを使用すると、それらのシートをテーブルとして参照する事ができます。しかしExcelテーブルの参照にはExcelの構文を使用しなければなりません。

例えば、あるExcel ファイルにContacts シートが含まれています。Excel ODBC ドライバでこのテーブルを参照するには、テーブル名に $ 文字を追加します。つまりクエリでテーブル名を指定するには Contacts$ とします。

もし、Contacts$ と指定し、Excel ODBC ドライバが "Syntax error in from clause" のエラーを返す場合、テーブル名を角カッコで囲みます。つまりテーブル名を [Contacts$] のように指定します。


Table of ContentsPreviousNext
Ispirer             Ispirer
Copyright © 1999-2015 Ispirer Systems Ltd. Ispirer and SQLWays are trademarks of Ispirer Systems Ltd. All other product names may be trademarks of the respective companies. All rights reserved.