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