How to extract lineage from on-prem sql server ?

Ritik 5 Reputation points
2023-05-07T14:54:39.3933333+00:00

I want to scan store procedure from on-prem sql server as well as extract the lineage, Is there any way to achieve it either using Mircosoft Purview or using Apache Atlas API?

I'm not using any ADF pipeline to transform the data, data is moving and transforming using store procedures.

SQL Server Other
Microsoft Security Microsoft Purview
{count} votes

3 answers

Sort by: Most helpful
  1. LiHongMSFT-4306 31,566 Reputation points
    2023-05-08T06:52:01.4166667+00:00

    Hi @Ritik

    Lineage from stored procedures for the Azure SQL database has been released into public preview. Please refer to this article: Introducing dynamic lineage extraction from Azure SQL Databases in Azure Purview.

    However, it seems that the On-premise SQL Server haven't been updated.

    Best regards,

    Cosmog Hong


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our Documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.

  2. KranthiPakala-MSFT 46,642 Reputation points Microsoft Employee Moderator
    2023-05-08T19:07:49.2866667+00:00

    @Ritik

    Thanks for using Microsoft Q&A forum and posting your query.

    I want to scan store procedure from on-prem sql server as well as extract the lineage, Is there any way to achieve it either using Mircosoft Purview or using Apache Atlas API?

    No, Mircosoft Purview or using Apache Atlas API doesn't support Lineage for On-prem SQL server.

    Ref doc: Connect to and manage an on-premises SQL server instance in Microsoft Purview User's image

    Ref article: Atlas and Purview API Coverage
    User's image

    Microsoft Purview has limited lineage support if the on-prem sql dataset (only tables) is used as source/sink in ADF copy activity. Else it is not supported.

    If you have additional feedback or a feature request, please feel free to share your comments on this existing feature requst item: Scanning/Lineage of stored procedures in SQL Server and Azure SQL

    Hope this helps.


    Please don’t forget to Accept Answer and Yes for "was this answer helpful" wherever the information provided helps you, this can be beneficial to other community members.

    1 person found this answer helpful.
    0 comments No comments

  3. Erland Sommarskog 121.4K Reputation points MVP Volunteer Moderator
    2023-05-07T15:33:04.82+00:00

    You can scan them from Purview if you enable for you servers for Azure Arc. I guess this would be the starting point: https://learn.microsoft.com/en-us/azure/azure-arc/servers/learn/quick-enable-hybrid-vm. This articles talks about Windows, but as I understand that is the starting point. You first enable the machine on OS level, and then you add SQL Server.

    I am myself planning to look into Azure Arc more closely.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.