Code Assist MCP for ServiceNow

Build 25.0.9540

CreateSchema

Creates a schema file for a specified table or view, saving it to the directory defined in the 'Location' connection property.

CreateSchema

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

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

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

Input

Name Type Required Description
TableName String True Specifies the name of the ServiceNow table or view for which the schema file should be generated.
FileName String False Defines the full name of the schema file to generate, such as 'CartItems.rsd', and determines where the generated schema will be saved.

Result Set Columns

Name Type Description
Result String Indicates whether the schema creation operation succeeded or failed, returning a corresponding status message.
FileData String Returns the generated schema file content as output when the FileName input is not provided.

Copyright (c) 2026 CData Software, Inc. - All rights reserved.
Build 25.0.9540