datacontract import sqlserver

{/* AUTOGENERATED from datacontract --help: do not edit by hand; regenerate with update_command_docs.py */}

Import a data contract from a SQL Server database.

datacontract import sqlserver [OPTIONS]
Option Default Description
--source The host of the SQL Server instance.
--port The SQL Server port (default 1433).
--database The database name.
--schema The schema name (default dbo).
--table Name of a table to import (repeat for multiple tables, omit for all tables).
--output File path where the Data Contract will be saved. If not provided, it will be printed to stdout.
--owner The owner or team responsible for managing the data contract.
--id The identifier for the data contract.
--debug / --no-debug Enable debug logging
datacontract import sqlserver --source localhost --database mydb --output datacontract.yaml

Guide: Import: SQL Server.