Inter Base6 データーベースに

データーをEXPORT,INPORTする機能はあるのでしょうか。

 ・SQLServerのINPORT,EXPORTみたいな機能です。

もしあればその使用方法が掲載されているサイトを教えてください。

回答の条件
  • 1人5回まで
  • 登録:
  • 終了:2012/03/27 15:28:42
※ 有料アンケート・ポイント付き質問機能は2023年2月28日に終了しました。

ベストアンサー

id:windofjuly No.1

回答回数2625ベストアンサー獲得回数1149

ポイント300pt

固定長ファイルを用います
説明は下記参照
(日本語訳無しの手抜きで、ごめんなさい)

http://fbclient.googlecode.com/files/DataDef.pdf の p107-p110

Using the EXTERNAL FILE option

The EXTERNAL FILE option creates a table for which the data resides in an external table
or file, rather than in the InterBase database. External files are ASCII text that can also be
read and manipulated by non-InterBase applications. In the syntax for CREATE TABLE, the
filespec that accompanies the EXTERNAL keyword is the fully qualified file specification for
the external data file. You can modify the external file outside of InterBase, since
InterBase accesses it only when needed.

Use the EXTERNAL FILE option to:
Import data from a flat external file in a known fixed-length format into a new or existing
InterBase table. This allows you to populate an InterBase table with data from an external
source. Many applications allow you to create an external file with fixed-length records.
SELECT from the external file as if it were a standard InterBase table.
Export data from an existing InterBase table to an external file. You can format the data
from the InterBase table into a fixed-length file that another application can use.

Restrictions
以下に説明が続く

id:pikacyuu

大体理解できました。
ありがとうございます。

2012/03/27 15:28:28

コメントはまだありません

この質問への反応(ブックマークコメント)

「あの人に答えてほしい」「この質問はあの人が答えられそう」というときに、回答リクエストを送ってみてましょう。

これ以上回答リクエストを送信することはできません。制限について

回答リクエストを送信したユーザーはいません