CreateSchema
Creates schema definitions for tables in Oracle Fusion Cloud SCM, enabling database management.
CreateSchema
データモデル内の既存のテーブルまたはビューからローカルスキーマファイル(.rsd)を作成します。
スキーマファイルは、このプロシージャが実行されると、Location 接続プロパティで設定されたディレクトリに作成されます。ファイルを編集してカラムを含めたり除外したり、カラム名を変更したり、カラムのデータ型を変更したりできます。
connector はLocation を確認し、.rsd ファイルの名前がデータモデルのテーブルまたはビューに一致するかどうかを判断します。重複がある場合、スキーマファイルはデータモデル内のこのテーブルのデフォルトインスタンスよりも優先されます。既存のテーブルまたはビューに一致しないスキーマファイルがLocation に存在する場合、新しいテーブルまたはビューのエントリがconnector のデータモデルに追加されます。
Input
| Name | Type | Description |
| TableName | String | The name of the table for which the schema is being generated. This helps identify the specific table for schema creation. |
| SchemaName | String | The name of the schema that contains the table. This provides the context for where the table resides within the database structure. |
| FileName | String | The full file path and name where the schema will be saved. For example, 'C:\\scripts\\Accounts.rsd' specifies the location and file name for the generated schema. |
| SimplifyNames | String | Flag indicating whether to use simplified names for columns in the schema. If set to 'true', longer or more complex column names are shortened for ease of use. Default behavior is to simplify names. |
Result Set Columns
| Name | Type | Description |
| Result | String | Indicates whether the schema was successfully generated and downloaded. A value of 'true' means the process completed successfully, while 'false' indicates an error or failure. |
| FileData | String | The generated schema encoded in Base64 format, returned when both FileName and FileStream are not set. This provides the schema in a data format that can be decoded and saved. |