OverviewArchitectureRecipeSourceProcessorSinkContext Graph for AI
OverviewArchitectureRecipeSourceProcessorSinkContext Graph for AI

Microsoft SQL Server

Extracts tables and their columns from every database on a SQL Server instance. Emits table entities, plus references edges for foreign keys.

Usage

source:
  name: mssql
  scope: my-scope
  config:
    connection_url: sqlserver://admin:pass123@localhost:1433/

Configuration

KeyTypeDescriptionRequired
connection_urlstringConnection URL for the SQL Server instance.Yes
exclude.databases[]stringDatabase names to skip.No
exclude.tables[]stringTables to skip, in database.table format.No

Output

Entity type: table

URN pattern: urn:mssql:{scope}:table:{database}.{table}

Notable properties:

  • columns - List of column objects. Each has name, data_type, is_nullable, and length (omitted when zero).

Edges

Edge typeFromTo
referencestabletable

One references edge is created per foreign key, pointing from the table to the table it references.

Notes

The system databases master, msdb, model, and tempdb are always skipped.

MongoDBMySQL
On this page
UsageConfigurationOutputEdgesNotes