CreateSchema
Creates schema definitions for tables in Oracle Fusion Cloud SCM.
CreateSchema
データモデル内の既存のテーブルまたはビューからローカルスキーマファイル(.rsd)を作成します。
スキーマファイルは、このプロシージャが実行されると、Location 接続プロパティで設定されたディレクトリに作成されます。ファイルを編集してカラムを含めたり除外したり、カラム名を変更したり、カラムのデータ型を変更したりできます。
本製品 はLocation を確認し、.rsd ファイルの名前がデータモデルのテーブルまたはビューに一致するかどうかを判断します。重複がある場合、スキーマファイルはデータモデル内のこのテーブルのデフォルトインスタンスよりも優先されます。既存のテーブルまたはビューに一致しないスキーマファイルがLocation に存在する場合、新しいテーブルまたはビューのエントリが本製品 のデータモデルに追加されます。
Input
Name | Type | Accepts Output Streams | Description |
TableName | String | False | Specifies the name of the table for which the schema will be generated. |
SchemaName | String | False | Defines the name of the database schema associated with the table. |
FileName | String | False | Full file path and name where the generated schema will be saved. Example: 'C:\\scripts\\Accounts.rsd'. |
SimplifyNames | String | False | Indicates whether column names should be simplified in the output. Default behavior is to simplify names. |
FileStream | String | True | Output stream for writing the generated schema when FileName is not specified. |
Result Set Columns
Name | Type | Description |
Result | String | Indicates whether the schema generation process was successful. |
FileData | String | Generated schema data encoded in Base64 format, returned only if neither FileName nor FileStream is specified. |