Microsoft Purview, which recently became generally available, allows governance of on-premises SQL server farms at scale, and with ease. This blog details how to register and scan a SQL server. It also describes how to restrict access and discover assets easily by grouping SQL servers into Purview collections. Using Purview, users can also gain further insights into their entire hybrid data estate.
Register and scan SQL Server
Navigate to a Purview account and click on the Data Map section to the left. Users can view their data estate maps and choose to view sources in table format as well.
Purview now supports more than 20 source types, ranging from Azure SQL DB to AWS S3 to Oracle DB. There are two ways to register a source—by either clicking on the register button on the top left or navigating to the collection you’d like to register the source to and clicking on the register quick action icon. After doing so, click on the SQL server source tile and fill in the required details.
As part of the required details, users can register a source to a collection of interest. In our example, we register the source to the NorthAmericaOP (on-premises) collection.
Once a source has been registered, the next step is to set up self-hosted integration runtime, scan rule set, and credentials. Then it’s time to set up and run your scan. While setting up the scan, fill in details for the integration runtime, database name (leaving it empty will scan the entire server), and credential. A scan can also be set up with a collection—in our example we leave the collection on the scan as NorthAmericaOP (that of the parent source). Now ensure that all these assets are scanned into the catalog with the right collection associated with them for discovery and access control.
Users can further choose to scope a scan, set up a schedule, and review all details before running it. View the results of the scan by clicking on View details for the source.
When Azure Data Factory is used to move and transform data, lineage relating to your SQL server can automatically be captured and surfaced in Purview. Learn how to link an ADF instance to the Purview account.
Search and Browse your SQL Server Tables
Once the scan completes, you can discover assets via search or browse. To browse, click on the browse assets tile on the catalog home page, navigate to the by source type tab, click on SQL Server, and navigate to the table that you’re interested in learning more about. Users can also browse for SQL server tables by collection.
Search for a table by keyword and narrow down results by using the facet filters on the left. In our following example, we search by the keyword “employee” and narrow down our results by selecting the “firmwide” glossary term.
Add business metadata to your SQL server assets
Navigate to a SQL table and view all of its details. Add descriptions, classifications, and business glossary terms by clicking on the edit button (provided you’re a data curator in the scope of the collection the asset belongs to) to aid in discoverability and compliance.
Finally, view SQL server-related insights around assets, scans, glossary, classification, and labels by navigating to the insights section of Purview.
Get started today!
- Quickly and easily create an Microsoft Purview account to try the generally available features.
- Read documentation about how to register and scan SQL Server in Microsoft Purview