CreateSchema
Creates schema definitions for tables in Oracle Fusion Cloud SCM.
CreateSchema
Creates a local schema file (.rsd) from an existing table or view in the data model.
The schema file is created in the directory set in the Location connection property when this procedure is executed. You can edit the file to include or exclude columns, rename columns, or adjust column datatypes.
The add-in checks the Location to determine if the names of any .rsd files match a table or view in the data model. If there is a duplicate, the schema file will take precedence over the default instance of this table in the data model. If a schema file is present in Location that does not match an existing table or view, a new table or view entry is added to the data model of the add-in.
Input
Name | Type | Description |
TableName | String | Specifies the name of the table for which the schema will be generated. |
SchemaName | String | Defines the name of the database schema associated with the table. |
FileName | String | 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. Default behavior is to simplify names. |
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. |