Microsoft SQL Server

This document outlines the integration with Microsoft SQL Server, enabling streamlined metadata management through features such as crawling, profiling, querying, data preview, and lineage building (both automatic and manual). It also ensures secure authentication via Credential Manager.

Overview

Connector Details

Connector Category

RDBMS

Connector Version

6.3.4

Releases Supported (Available from)

Legacy Connector

Connectivity [How the connection is established with Microsoft SQL Server]

JDBC driver

Verified Microsoft SQL Server Version

Microsoft SQL Server 2019 (15.0.4236.7)

The Microsoft SQL Server connector has been validated with the mentioned "Verified Microsoft SQL Server Versions" and is expected to be compatible with other supported Microsoft SQL Server versions. If there are any issues with validation or metadata crawling, please submit a support ticket for investigation and feedback.

Connector Features

Feature
Availability

Crawling

Delta Crawling

Profiling

Query Sheet

Data Preview

Auto Lineage

Manual Lineage

Secure Authentication via Credential Manager

Data Quality

DAM (Data Access Management)

Bridge

Metadata Mapping

The following objects are crawled from Microsoft SQL Server and mapped to the corresponding UI assets.

SQL Server Object
SQL Server Property
OvalEdge Attribute
OvalEdge Category
OvalEdge Type

Table

Table Name

Table

Tables

Table

Table

Table Type

Table

Tables

Table

Table

Table Comments

Source Description

Descriptions

Source Description

Columns

Column Name

Column

Table Columns

-

Columns

Data Type

Column Type

Table Columns

-

Columns

Description

Source Description

Table Columns

-

Columns

Ordinal Position

Column Position

Table Columns

-

Columns

Length

Data Type Size

Table Columns

-

Views

View Name

View

Tables

View

Views

Text

View Query

Views

View

Procedures

Routine_name

Name

Procedures

-

Procedures

Description

Source Description

Descriptions

-

Procedures

Routine_definition

Procedure

Procedures

-

Functions

Routine_name

Name

Functions

-

Functions

Routine_definition

Function

Functions

-

Functions

Description

Source Description

Descriptions

-

Triggers

Trigger Name

Name

Triggers

-

Triggers

Trigger Definition

Trigger Data

Triggers

-

Triggers

Trigger Type

Type

Triggers

-

Set up a Connection

Prerequisites

The following are the prerequisites to establish a connection:

External Supporting Files

The supporting files listed below are required for Windows authentication. Ensure that the correct supporting files are used based on the specific installation environment. The supporting files are available for download. Extract the ZIP file and select the required files to proceed. To download the ZIP file, click here.

File Name
Description

Jtds-1.3.1.jar

Use this file when the application is deployed in a Linux or Unix environment. Place the file in the Third Party Jars directory.

Ntlmauth.dll

Use this file when the application is deployed in a Linux or Unix environment. Place the file in the Tomcat bin directory.

Sqljdbc_auth.dll

Use this file when the application is deployed in a Windows environment. Place the file in the Tomcat bin directory.

Whitelisting Ports

Make sure that inbound port “1433” is whitelisted to enable successful connectivity with the Microsoft SQL Server database.

Service Account User Permissions

👨‍💻Who can provide these permissions? These permissions are typically granted by the Microsoft SQL Server administrator, as users may not have the required access to assign them independently.

Operation
Objects
System Tables
Access Permission

Crawling & Profiling

Schema

sys.schemas

SELECT

Crawling & Profiling

Schema

extended_properties

SELECT

Crawling & Profiling

Tables

information_schema.tables

SELECT

Crawling & Profiling

Tables

fn_listextendedproperty

SELECT

Crawling & Profiling

Table Columns

sys.all_columns

SELECT

Crawling & Profiling

Table Columns

sys.types

SELECT

Crawling & Profiling

Table Columns

sys.views

SELECT

Crawling & Profiling

Table Columns

information_schema.columns

SELECT

Crawling & Profiling

Table Columns

information_schema.key_column_usage

SELECT

Crawling & Profiling

Table Columns

information_schema.table_constraints

SELECT

Crawling, Profiling & Lineage Building

Views

information_schema.views

View Definition

Crawling, Profiling & Lineage Building

Views

sys.objects

View Definition

Crawling & Lineage Building

Functions & Stored Procedures Source code

information_schema.routines

View Definition

Crawling & Lineage Building

Functions & Stored Procedures Source code

sys.sql_modules

View Definition

Crawling & Lineage Building

Functions & Stored Procedures Source code

sys.extended_properties

View Definition

Crawling

Triggers

sys.objects

SELECT

Crawling

Triggers

sql_modules

SELECT

Crawling

Synonyms

sys.synonyms

SELECT

Crawling

Relationships

sys.foreign_keys

SELECT

Crawling

Indexes

on specified table

View Definition

Connection Configuration Steps

  1. Log into OvalEdge, go to Administration > Connectors, click + (New Connector), search for Microsoft SQL Server, and complete the required parameters.

Fields marked with an asterisk (*) are mandatory for establishing a connection.

Field Name
Description

Connector Type

By default, "SQL Server" is displayed as the selected connector type.

Authentication

The following three types of authentication are supported for Microsoft SQL Server:

  • SQL Server Authentication

  • Windows Authentication

  • Azure Active Directory - Password

Field Name
Description

Credential Manager*

Select the desired credentials manager from the drop-down list. The corresponding parameters will be displayed based on the selected option.

Supported Credential Managers:

  • OE Credential Manager

  • AWS Secrets Manager

  • HashiCorp Vault

  • Azure Key Vault

License Add Ons

Auto Lineage

Supported

Data Quality

Supported

Data Access

Not Supported

  • Select the checkbox for Auto Lineage Add-On to build data lineage automatically.

  • Select the checkbox for Data Quality Add-On to identify data quality issues using data quality rules and anomaly detection.

Connector Name*

Enter a unique name for the Microsoft SQL Server connection

(Example: "SQL Server_Prod").

Connector Environment

Select the environment (Example: PROD, STG) configured for the connector.

Connector description

Enter a brief description of the connector.

Server*

Enter the Microsoft SQL Server database server name or IP address (Example: xxxx-sqlserver.xxxx4ijtzasl.xx-south-1.rds.xxxxxws.com or xxx.xx8.x.10).

Port*

By default, the port number for the Microsoft SQL Server, "1433" is auto-populated. If required, the port number can be modified as per custom port number that is configured for the Microsoft SQL Server.

Database*

Enter the database name to which the service account user has access within the Microsoft SQL Server.

Driver*

By default, the Microsoft SQL Server driver details are auto-populated.

Username*

Enter the service account username set up to access the Microsoft SQL Server database (Example: "oesauser").

Password*

Enter the password associated with the service account user.

Connection String

Configure the connection string for the Microsoft SQL Server database:

  • Automatic Mode: The system generates a connection string based on the provided credentials.

  • Manual Mode: Enter a valid connection string manually.

Replace placeholders with actual database details.

{sid} refers to Database Name.

Plugin Server

Enter the server’s name when running as a plugin server.

Plugin Port

Enter the port number on which the plugin is running.

Default Governance Roles

Default Governance Roles*

Select the appropriate users or teams for each governance role from the drop-down list. All users configured in the security settings are available for selection.

Admin Roles

Admin Roles*

Select one or more users from the dropdown list for Integration Admin and Security & Governance Admin. All users configured in the security settings are available for selection.

No of Archive Objects

No Of Archive Objects*

This shows the number of recent metadata changes to a dataset at the source. By default, it is off. To enable it, toggle the Archive button and specify the number of objects to archive.

Example: Setting it to 4 retrieves the last four changes, displayed in the 'Version' column of the 'Metadata Changes' module.

Bridge

Select Bridge*

If applicable, select the bridge from the drop-down list.

The drop-down list displays all active bridges that have been configured. These bridges facilitate communication between data sources and the system without requiring changes to firewall rules.

  1. After entering all connection details, the following actions can be performed:

    1. Click Validate to verify the connection.

    2. Click Save to store the connection for future use.

    3. Click Save & Configure to apply additional settings before saving.

  2. The saved connection will appear on the Connectors home page.

Manage Connector Operations

Crawl/Profile

The Crawl/Profile button allows users to select one or more schemas for crawling and profiling.

  1. Navigate to the Connectors page and click Crawl/Profile.

  2. Select the schemas to be crawled.

  3. The Crawl option is selected by default. To perform both operations, select the Crawl & Profile radio button.

  4. Click Run to collect metadata from the connected source and load it into the Data Catalog.

  5. After a successful crawl, the information appears in the Data Catalog > Databases tab.

The Schedule checkbox allows automated crawling and profiling at defined intervals, from a minute to a year.

  1. Click the Schedule checkbox to enable the Select Period drop-down.

  2. Select a time interval for the operation from the drop-down menu.

  3. Click Schedule to initiate metadata collection from the connected source.

  4. The system will automatically execute the selected operation (Crawl or Crawl & Profile) at the scheduled time.

Other Operations

The Connectors page provides a centralized view of all configured connectors, along with their health status.

Managing connectors includes:

  • Connectors Health: Displays the current status of each connector using a green icon for active connections and a red icon for inactive connections, helping to monitor the connectivity with data sources.

  • Viewing: Click the Eye icon next to the connector name to view connector details, including databases, tables, columns, and codes.

Nine Dots Menu Options:

To view, edit, validate, build lineage, configure, or delete connectors, click on the Nine Dots menu.

  • Edit Connector: Update and revalidate the data source.

  • Validate Connector: Check the connection's integrity.

  • Settings: Modify connector settings.

    • Crawler: Configure data extraction.

    • Profiler: Customize data profiling rules and methods.

    • Query Policies: Define query execution rules based on roles.

    • Access Instructions: Add notes on how data can be accessed.

    • Business Glossary Settings: Manage term associations at the connector level.

    • Anomaly Detection Settings: Configure anomaly detection preferences at the connector level.

    • Others: Configure notification recipients for metadata changes.

  • Build Lineage: Automatically build data lineage using source code parsing.

  • Delete Connector: Remove a connector with confirmation.

Connectivity Troubleshooting

If incorrect parameters are entered, error messages may appear. Ensure all inputs are accurate to resolve these issues. If issues persist, contact the assigned support team.

S. No.
Error Message(s)
Error Description & Resolution

1

Error while validating connection: Exception occurred while validating in SQL Server Connection: Failed to obtain JDBC Connection; nested exception is com.microsoft.sqlserver.xxx.SQxxxxrException: Login failed for user 'xxxxx'. ClientConnectionId: 9xxxxx2-6xxx-4xx2-xx13-xxxx846xx

Error Description:

Either username and password might be wrong.

Resolution:

  • Ensure the correct username and password are entered in the setup form.

  • Verify the username format.

  • Confirm the user account is active.

2

invalid DB

Error while validating connection. Error:Exception occured while validating in SQL Server Connection: Failed to obtain JDBC Connection; nested exception is com.microsoft.sqlserver.xxx.SQLxxxException: Cannot open database "xxx" requested by the login. The login failed. ClientConnectionId:1xxxxx7a- xxxa-4xx9-bxxx-xxxxxx6bxxx7

Error Description:

The database name provided is invalid.

Resolution:

  • The Database Name field in the setup form contains an incorrect value.

  • Ensure that the database name is correctly spelled and exists in the target system.


Copyright © 2025, OvalEdge LLC, Peachtree Corners GA USA

Last updated

Was this helpful?