Skip to main content

SQL Server

This section explains how to create and test an SQL Server data source in DataDios.


Steps to Create and Test an SQL Server Data Source​

Step 1: Create a Data Source​

  1. Navigate to Data Explorer from the left navigation menu.
  2. Click + Add connection in the top-right corner. The Create data source dialog opens.
  3. Under Identity, enter a Name for the connection and select SQLServer Database from the searchable Type dropdown — it is listed under the Database group.

Data Explorer sources list with Add connection


Step 2: Fill Connection Details​

In the Connection Parameters section, provide:

  • Group: (Optional) grouping label for connections
  • Host: SQL Server host or IP address (required)
  • Port: SQL Server port (default: 1433)
  • Service Type: On-prem or Cloud
  • Username: SQL Server login username (required)
  • Select Secret Source: choose Direct Input to type the password here, or From Secret Store to reference a configured secret store
  • Password: the password for that login (required; the field reads Enter Secret Key)
  • Database: database to connect to
  • Schema: schema you want to connect to
  • Object Types: choose whether to fetch tables, views, or both
  • Version: SQL Server 2022 or SQL Server 2014 — leave it blank if neither applies

SQLServer Database connection form

Cloud (Azure SQL Database / Synapse)

  • Each database is read on its own connection. A refresh connects to every listed database, up to about four connections per database. This wakes auto-paused serverless databases, which Azure bills.
  • If a database cannot be opened (paused, or the login has no access), Refresh skips it and lists the other databases in full. This applies from the DataDios release after v1.13.0. The objects DataDios already holds for that database are kept as last read, not removed. The Refresh message names the skipped databases, the first 10 and then "and N more": Could not open sales_db: listed empty, their objects were kept. Resume the database or fix the access, then refresh again.
  • Only databases visible in sys.databases of the database you connect to are listed.

The dialog also carries Drift, Lineage, Workload and Profiling tabs. These are optional and can be turned on later from Edit:

  • Drift — toggle Enable drift tracking to record schema changes (new columns, type changes, dropped tables) in the drift timeline.
  • Lineage — toggle Build lineage after creating to trace data flow across pipelines and jobs.
  • Workload — toggle Enable workload analysis (and optionally Enable insight extraction), then pick from the SQL Server workflows: SS DB Storage Usage, SS Table Storage Usage, SS Query Workload, SS Query Text Workload and SS DB WORKLOAD. SS Query Text Workload runs daily and carries each query's text and plan, keyed by query and plan hash; SS Query Workload keeps the execution statistics (its totals are stored as per-collection deltas) but no longer the text or plan. Existing sources get SS Query Text Workload turned on automatically and keep the query text and plans already collected.
  • Profiling — toggle Enable data profiling to collect table- and column-level facts for quality rules and search.

Step 3: Test Connection​

Click Test Connection to validate the host, credentials and database before saving.


Step 4: Save Data Source​

If the test succeeds, click Create. You land back on the Sources list, and the new SQL Server connection appears under the Database category in the left Catalog panel.

To change it later, click the Edit connection (pencil) icon on its row. The Edit data source dialog carries the same tabs plus a Search index tab, and saves with Save instead of Create. Not every connector gets that tab — the Ollama Edit dialog, for instance, does not show it.


Step 5: Explore Data Source Items​

Click the connection's name to drill down through its hierarchy — connection → database → schema → table — with tabs that change at each level:

LevelTabs
ConnectionSources · Lineage · Drift · Data Quality
DatabaseSources · Lineage · Drift · Data Quality
SchemaSources · Lineage · Drift · Data Quality
TableMetadata · Data Preview · Profile · Quality Rules · Lineage · History

At schema level the Sources tab lists every table and view in that schema, and the breadcrumb shows where you are in the hierarchy.

SQL Server schema-level table listing

Open a table to view its Metadata tab, which groups the object's structure into Attributes, Constraints, FK Relationships, Indexes and Partitions. The Attributes table lists ATTR_SNO, ATTR_NAME, DATA_TYPE, DATA_LENGTH, DATA_SCALE, NULLABLE, GENERIC_TYPE and GUID.

SQL Server table Metadata tab

Other tabs on the same table:

  • Data Preview — a row-level data grid of the table's actual content.
  • Profile — column- and table-level profiling facts, populated when Enable data profiling is on for the connection.
  • Quality Rules — the rules configured for this table. For detailed information, refer to the Data Quality documentation.
  • Lineage — upstream and downstream relationships for the table.
  • History — how the object has changed over time.

Add to dashboard, Export and Sync now are available from the table header.

note

The SQL Server connector has no Schedule Sync field in the new UI. Metadata is refreshed from the connection's Refresh action and from Sync now on an individual object; for how the resulting history is presented, see the Metadata Timeline.