ADO.NET Provider for Microsoft Dataverse

Build 26.0.9655

CreateSchema

Produces a schema file outlining the structure of the specified table or view, supporting data analysis and integration.

Stored Procedure-Specific Information

To execute this procedure, enter:

    EXEC CreateSchema TableName='my_table'

Input

Name Type Required Accepts Output Streams Description
TableName String True False The name of the table or view for which the schema will be generated. Provide the exact name as it appears in Common Data Service.
FileName String False False The file name for the generated schema. The file will be generated in 'Location property' + 'Entities' + 'FileName'. For example, if FileName is set to 'table.rsd', then the file will be generated in '%APPDATA%\\CData\\CDS Data Provider\\Schema\\Entities\\table.rsd'
FileStream String False True A stream object where the schema file data is written. Used only when the FileName parameter is not provided.

Result Set Columns

Name Type Description
FileData String The file data that will be outputted encoded in Base64, if the FileName and FileStream inputs are not set.
Result String Indicates whether the schema generation was successful or failed.

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