JDBC Driver for Certinia

Build 23.0.8839

CreateSchema

Creates a schema file for the specified table.

CreateSchema

データモデル内の既存のテーブルまたはビューからローカルスキーマファイル(.rsd)を作成します。

スキーマファイルは、このプロシージャが実行されると、Location 接続プロパティで設定されたディレクトリに作成されます。ファイルを編集してカラムを含めたり除外したり、カラム名を変更したり、カラムのデータ型を変更したりできます。

本製品 はLocation を確認し、.rsd ファイルの名前がデータモデルのテーブルまたはビューに一致するかどうかを判断します。重複がある場合、スキーマファイルはデータモデル内のこのテーブルのデフォルトインスタンスよりも優先されます。既存のテーブルまたはビューに一致しないスキーマファイルがLocation に存在する場合、新しいテーブルまたはビューのエントリが本製品 のデータモデルに追加されます。

Input

Name Type Accepts Output Streams Description
TableName String False The name of the table for which to create a schema.
TableDescription String False An optional description of the table.
WriteToFile String False Whether to write the contents of the generated schema to a file or not. The input defaults to true. Set it to false to write to FileStream or FileData.
FileName String False The filename of the schema to generate. Ex: 'Accounts.rsd'
FileStream String True An instance of an output stream where file data is written to. Only used if WriteToFile=false.

Result Set Columns

Name Type Description
Result String Returns Success or Failure.
FileData String The generated schema encoded in Base64. Only returned if WriteToFile=false and FileStream is not provided.
SchemaFile String The generated schema file.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 23.0.8839