{"id":18960,"date":"2022-09-15T10:11:53","date_gmt":"2022-09-15T08:11:53","guid":{"rendered":"https:\/\/www.dbi-services.com\/blog\/?p=18960"},"modified":"2024-09-10T15:48:12","modified_gmt":"2024-09-10T13:48:12","slug":"sql-server-2022-synapse-link","status":"publish","type":"post","link":"https:\/\/www.dbi-services.com\/blog\/sql-server-2022-synapse-link\/","title":{"rendered":"SQL Server 2022 &#8211; Azure Synapse Link"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Why is this feature interesting?<\/h2>\n\n\n\n<p>The Azure Synapse Link for SQL Server 2022 will enable you to replicate your operational data into Azure Synapse Analytics dedicated SQL pool.<\/p>\n\n\n\n<p>Azure Synapse is an enterprise analytics service that accelerates time to insight across data warehouses and big data systems. Azure Synapse brings together the best of SQL technologies used in enterprise data warehousing, Spark technologies used for big data, Data Explorer for log and time series analytics, Pipelines for data integration and ETL\/ELT, and deep integration with other Azure services such as Power BI, CosmosDB, and AzureML.<\/p>\n\n\n\n<p>Diagram of Azure Synapse Analytics architecture.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"873\" height=\"292\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-7.png\" alt=\"\" class=\"wp-image-18962\" srcset=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-7.png 873w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-7-300x100.png 300w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-7-768x257.png 768w\" sizes=\"auto, (max-width: 873px) 100vw, 873px\" \/><\/figure>\n\n\n\n<p>The&nbsp; advantage of creating a Synapse Link to your SQL server 2022 is that you can replicate your operational data in SQL Server to the Synapse dedicated SQL pool in an automatic way.<\/p>\n\n\n\n<p>The data is first loaded in a landing zone and than copied to the Synapse dedicated SQL pool. The Azure Data Lake Storage Gen2 account is used for the landing zone. This data lake storage must be dedicated only for this Synapse Link for SQL landing zone.<\/p>\n\n\n\n<p>You will be able to use the full power of Synapse to analyze your data without impacting the operational applications. You are also able to federate the data of several SQL Server 2022 databases without having to build complicated load processes.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Prerequisite<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li>On Azure side, you need first to have a Synapse workspace created<\/li><\/ul>\n\n\n\n<ul class=\"wp-block-list\"><li>On your data center side you need to have SQL Server 2022 Instance installed<ul><li>Make sure to have an master encryption key created on the database you want to link with your Synapse Analytics<ul><li>CREATE MASTER KEY ENCRYPTION BY PASSWORD = &#8216;************&#8217;<\/li><\/ul><\/li><li>Be also sure not to have clustered columnstore indexes on the tables you want to link in Synapse. This is not supported<\/li><\/ul><\/li><\/ul>\n\n\n\n<ul class=\"wp-block-list\"><li>Create an Azure Data Lake Storage Gen2 account (different from the account created with the Azure Synapse Analytics workspace) used as the landing zone to stage the data submitted by SQL Server 2022.<ul><li>If you don&#8217;t have a container available, create one that will be used for the landing zone of the data coming from your SQL Server 2022 instance on-premises<\/li><\/ul><\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-8-1024x640.png\" alt=\"\" class=\"wp-image-18963\" srcset=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-8-1024x640.png 1024w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-8-300x187.png 300w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-8-768x480.png 768w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-8.png 1226w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\"><li>You will also need a Share Access Signature (SAS) on your container later on to allow to access it<ul><li>In the Azure portal navigate to your storage account you will use for the landing zone<\/li><li>Select the containers<\/li><li>Click the ellipse button of the container you created previously<\/li><li>Select generate SAS<\/li><\/ul><\/li><\/ul>\n\n\n\n<p><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"507\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-9-1024x507.png\" alt=\"\" class=\"wp-image-18964\" srcset=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-9-1024x507.png 1024w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-9-300x149.png 300w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-9-768x381.png 768w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-9.png 1223w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\"><li>Use User delegation key as the signing method<\/li><li>Select Read\/Write\/List in the permissions<\/li><li>Set the validity period of your signature (max duration is 7 days, after that you have to renew the signature)<\/li><li>Defined the IP address of the computer which will access the landing zone container<\/li><li>Select the protocol communication protocol<\/li><li>Generate the SAS token<\/li><li>Copy and save the token generated, you will need it later<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"555\" height=\"746\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-50.png\" alt=\"\" class=\"wp-image-19011\" srcset=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-50.png 555w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-50-223x300.png 223w\" sizes=\"auto, (max-width: 555px) 100vw, 555px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\"><li>Make sure that the computer you are working on is allow to access your synapse workspace. Check the firewall rules.<\/li><\/ul>\n\n\n\n<p>In the Azure portal navigate to your synapse workspace<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>&nbsp;select the networking option<\/li><li>Enable the checkbox to allow Azure services to access the workspace<\/li><li>add the IP address of your client. Check that it appears in the list of rules<\/li><li>&nbsp;save your settings.<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"863\" height=\"756\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-10.png\" alt=\"\" class=\"wp-image-18965\" srcset=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-10.png 863w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-10-300x263.png 300w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-10-768x673.png 768w\" sizes=\"auto, (max-width: 863px) 100vw, 863px\" \/><\/figure>\n\n\n\n<p>Now that the prerequisites are fulfilled we can start with the real setup of the SQL Server 2022 link with Synapse.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Create your target Synapse dedicated SQL pool<\/h2>\n\n\n\n<p>In Azure portal go to the&nbsp; synapse workspace you created and open the synapse studio.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Select&nbsp; the manage hub <\/li><li>Select SQL pool<\/li><li>Click the +New to add a new SQL pool <\/li><li>Key in a name <\/li><li>choose the performance level depending of your needs <\/li><li>create your SQL pool.<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"476\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-14-1024x476.png\" alt=\"\" class=\"wp-image-18969\" srcset=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-14-1024x476.png 1024w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-14-300x139.png 300w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-14-768x357.png 768w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-14-1536x714.png 1536w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-14.png 1538w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>It takes some times until the SQL pool is deployed. Check the online indicator<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"836\" height=\"51\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-12.png\" alt=\"\" class=\"wp-image-18967\" srcset=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-12.png 836w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-12-300x18.png 300w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-12-768x47.png 768w\" sizes=\"auto, (max-width: 836px) 100vw, 836px\" \/><\/figure>\n\n\n\n<p>Create a master key for your synapse SQL Pool.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>go to data hub<\/li><li>select your SQL pool&nbsp;<\/li><li>create a new SQL script with the empty script option<\/li><\/ul>\n\n\n\n<p>If you just created your dedicated SQL pool refresh your synapse studio, it might be that the SQL database does not appear in the workspace list.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"617\" height=\"338\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-15.png\" alt=\"\" class=\"wp-image-18970\" srcset=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-15.png 617w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-15-300x164.png 300w\" sizes=\"auto, (max-width: 617px) 100vw, 617px\" \/><\/figure>\n\n\n\n<p>Paste the command CREATE MASTER KEY in the script pane and run it. Be sure the script is successfully executed.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"906\" height=\"567\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-13.png\" alt=\"\" class=\"wp-image-18968\" srcset=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-13.png 906w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-13-300x188.png 300w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-13-768x481.png 768w\" sizes=\"auto, (max-width: 906px) 100vw, 906px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Create linked service for your source SQL Server 2022<\/h2>\n\n\n\n<p>Create a Self-hosted integration Runtime : is a software agent that you can download and install on your on-premises machine or&nbsp; a virtual machine. It is a required component for synapse to get access to the data on SQL Server 2022<\/p>\n\n\n\n<p>The Self-hosted Integration Runtime is only supported on Windows Operating System<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Select the [Manage Hub] option<\/li><li>Select the option&nbsp; linked services <\/li><li>select +New <\/li><li>search for&nbsp; &#8220;SQL Server &#8221; <\/li><li>select the SQL Server Icon <\/li><li>validate clicking continue.<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"474\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-19-1024x474.png\" alt=\"\" class=\"wp-image-18974\" srcset=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-19-1024x474.png 1024w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-19-300x139.png 300w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-19-768x355.png 768w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-19.png 1372w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\"><li>Define a name for your linked service<\/li><li>Define your owned integration runtime, by opening the dropdown <\/li><li>select +New<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"566\" height=\"740\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-17.png\" alt=\"\" class=\"wp-image-18972\" srcset=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-17.png 566w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-17-229x300.png 229w\" sizes=\"auto, (max-width: 566px) 100vw, 566px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\"><li>Select the Self-Hosted option <\/li><li>validate with continue<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"539\" height=\"379\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-22.png\" alt=\"\" class=\"wp-image-18977\" srcset=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-22.png 539w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-22-300x211.png 300w\" sizes=\"auto, (max-width: 539px) 100vw, 539px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\"><li>Define a name unique in the workspace matching the naming convention <\/li><li>and click create.<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"554\" height=\"422\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-18.png\" alt=\"\" class=\"wp-image-18973\" srcset=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-18.png 554w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-18-300x229.png 300w\" sizes=\"auto, (max-width: 554px) 100vw, 554px\" \/><\/figure>\n\n\n\n<p>I opted for the manual setup. So I downloaded and installed the integration runtime manually. Copy the key in when installing it when required.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"536\" height=\"497\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-20.png\" alt=\"\" class=\"wp-image-18975\" srcset=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-20.png 536w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-20-300x278.png 300w\" sizes=\"auto, (max-width: 536px) 100vw, 536px\" \/><\/figure>\n\n\n\n<p>When the installation is finished the configuration manager will open. Copy the key provided by the setup in the synapse workspace and click register<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"784\" height=\"537\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-16.png\" alt=\"\" class=\"wp-image-18971\" srcset=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-16.png 784w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-16-300x205.png 300w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-16-768x526.png 768w\" sizes=\"auto, (max-width: 784px) 100vw, 784px\" \/><\/figure>\n\n\n\n<p>Check that the validation is ok and click finish to finalize the registration<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"794\" height=\"544\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-21.png\" alt=\"\" class=\"wp-image-18976\" srcset=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-21.png 794w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-21-300x206.png 300w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-21-768x526.png 768w\" sizes=\"auto, (max-width: 794px) 100vw, 794px\" \/><\/figure>\n\n\n\n<p>Check if the registration is successful<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"784\" height=\"539\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-23.png\" alt=\"\" class=\"wp-image-18978\" srcset=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-23.png 784w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-23-300x206.png 300w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-23-768x528.png 768w\" sizes=\"auto, (max-width: 784px) 100vw, 784px\" \/><\/figure>\n\n\n\n<p>You can now finalize the creation of the linked service on your synapse workspace.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Check that your integration runtime is valid<\/li><li>Capture the&nbsp; name of you on-premises SQL Sever instance<\/li><li>Specify the database name<\/li><li>Define the authentication to your on-premises SQL Server instance.<\/li><li>Test your connection<\/li><li>Click create<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"552\" height=\"732\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-24.png\" alt=\"\" class=\"wp-image-18979\" srcset=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-24.png 552w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-24-226x300.png 226w\" sizes=\"auto, (max-width: 552px) 100vw, 552px\" \/><\/figure>\n\n\n\n<p>The last think you can do for this step is verify that your integration runtime is up and running<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Go to the monitor hub<\/li><li>Select integration runtimes<\/li><li>Check the status of your self-hosted integration runtime<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"462\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-25-1024x462.png\" alt=\"\" class=\"wp-image-18980\" srcset=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-25-1024x462.png 1024w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-25-300x135.png 300w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-25-768x347.png 768w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-25.png 1057w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Create a linked service to connect to your data lake staging area<\/h2>\n\n\n\n<p>First you have to grant permissions to your Azure data lake gen2 for your synapse workspace to access it. On the Azure portal, go to the Azure Data Lake Storage Gen2 account you created.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Select the Access Control (IAM) menu.<\/li><li>Click +Add, and select Add role assignment.<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"640\" height=\"322\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-26.png\" alt=\"\" class=\"wp-image-18981\" srcset=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-26.png 640w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-26-300x151.png 300w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\"><li>Search for Storage Blob Data Contributor for the selected role<\/li><li>Select the line in the list<\/li><li>Click next<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"726\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-27-1024x726.png\" alt=\"\" class=\"wp-image-18982\" srcset=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-27-1024x726.png 1024w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-27-300x213.png 300w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-27-768x545.png 768w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-27.png 1060w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\"><li>Choose Managed identity in the assign access to section<\/li><li>Click select members<\/li><\/ul>\n\n\n\n<p>In the right pane<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Select the subscription to use<\/li><li>Select&nbsp; Synapse workspaces in the managed identity dowpdown<\/li><li>Select the synapse workspace you want to grant the role to.<\/li><li>Click select<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"733\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-28-1024x733.png\" alt=\"\" class=\"wp-image-18983\" srcset=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-28-1024x733.png 1024w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-28-300x215.png 300w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-28-768x550.png 768w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-28.png 1067w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\"><li>Check if you selected the right member<\/li><li>Validate with Review + assign<\/li><\/ul>\n\n\n\n<p>This may take a few minutes to take effect to add role assignment.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"843\" height=\"766\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-29.png\" alt=\"\" class=\"wp-image-18984\" srcset=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-29.png 843w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-29-300x273.png 300w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-29-768x698.png 768w\" sizes=\"auto, (max-width: 843px) 100vw, 843px\" \/><\/figure>\n\n\n\n<p>Now you can create the linked services in your synapse workspace to bind the data lake gen2.<\/p>\n\n\n\n<p>Go back to the synapse studio<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Select the manage hub section,<\/li><li>Select linked services<\/li><li>Click +New<\/li><li>In the right pane<\/li><li>Search for Azure Data Lake Storage Gen2<\/li><li>Click continue<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"518\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-30-1024x518.png\" alt=\"\" class=\"wp-image-18985\" srcset=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-30-1024x518.png 1024w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-30-300x152.png 300w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-30-768x389.png 768w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-30-1536x778.png 1536w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-30.png 1683w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\"><li>Defined a name for your linked service<\/li><li>Select the AutoResolveIntegrationRuntime connection method<\/li><li>Select Accountkey in the authentication type<\/li><li>Select the option Fron Azure subscription<\/li><li>Select the subscription<\/li><li>Select your storage account name to be the destination of your landing zone<\/li><li>Test your connection and check if everything is fine<\/li><li>Finalize the creation by clicking create<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"567\" height=\"927\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-31.png\" alt=\"\" class=\"wp-image-18986\" srcset=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-31.png 567w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-31-183x300.png 183w\" sizes=\"auto, (max-width: 567px) 100vw, 567px\" \/><\/figure>\n\n\n\n<p>Do not to forget to publish the changes when needed<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Click the Publishing command<\/li><li>Click the publish button after having reviewed the list of changes to apply<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"541\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-32-1024x541.png\" alt=\"\" class=\"wp-image-18987\" srcset=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-32-1024x541.png 1024w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-32-300x158.png 300w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-32-768x406.png 768w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-32-1536x811.png 1536w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-32.png 1774w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Create the Azure synapse link connection<\/h2>\n\n\n\n<p>First be sure that all the tables you need to replicate in your Synapse have a primary key on the on-premises SQL Server instance side. This is mandatory for the data replication<\/p>\n\n\n\n<p>Stay in your Synapse Studio to set this configuration<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Go to the integrate hub<\/li><li>Click on the +<\/li><li>Select the Link connection option<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"512\" height=\"322\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-35.png\" alt=\"\" class=\"wp-image-18990\" srcset=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-35.png 512w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-35-300x189.png 300w\" sizes=\"auto, (max-width: 512px) 100vw, 512px\" \/><\/figure>\n\n\n\n<p>Define your new connection to the SQL Server 2022 instance you have on-premises<\/p>\n\n\n\n<p>In the New link connection window<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Define the source type, in our case SQL Server<\/li><li>Select the Source linked server you created previously to bind your SQL Server instance on-premises<\/li><li>Select the tables to be replicated on Synapse side<\/li><li>Click continue<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"572\" height=\"660\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-37.png\" alt=\"\" class=\"wp-image-18992\" srcset=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-37.png 572w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-37-260x300.png 260w\" sizes=\"auto, (max-width: 572px) 100vw, 572px\" \/><\/figure>\n\n\n\n<p>In the next step<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Select the SQL pool you have created previously<\/li><li>Click continue<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"566\" height=\"284\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-36.png\" alt=\"\" class=\"wp-image-18991\" srcset=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-36.png 566w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-36-300x151.png 300w\" sizes=\"auto, (max-width: 566px) 100vw, 566px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\"><li>Give a name to your link connection<\/li><li>Set the number of core dedicated to the connection<\/li><li>Select the mode of the connection<\/li><li>Sekect the linked service to the landing zone your created previously<\/li><li>Select the storage account container you created&nbsp; (see the prerequisite chapter)<\/li><li>Copy the storage container SSAS token you generated (see the prerequisite chapter)<\/li><li>Click the OK button to create the link connection<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"556\" height=\"762\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-34.png\" alt=\"\" class=\"wp-image-18989\" srcset=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-34.png 556w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-34-219x300.png 219w\" sizes=\"auto, (max-width: 556px) 100vw, 556px\" \/><\/figure>\n\n\n\n<p>On the next screen, you will get a summary of the whole link connection your just defined<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Change the target table names, distribution type\/Column and structure type to fit best the data you are dealing with<\/li><li>Test again the connection with your SQL Server instance on-premises<\/li><li>Publish the link connection your created on your synapse workspace<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"495\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-33-1024x495.png\" alt=\"\" class=\"wp-image-18988\" srcset=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-33-1024x495.png 1024w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-33-300x145.png 300w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-33-768x371.png 768w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-33-1536x742.png 1536w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-33.png 1919w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Start and control the data replication<\/h2>\n\n\n\n<p>Now we are finally ready to start the data replication from your SQL Server 2022 on-premises to your Synapse workspace.<\/p>\n\n\n\n<p>It can take several minutes for the link to take effect and data starting to be replicating.<\/p>\n\n\n\n<p>It will first create the table structure on the SQL pool, than snapshot the data to make an initial data load and start the replication.<\/p>\n\n\n\n<p>In the Synapse Analytics Studio<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>go to the Integrate hub<\/li><li>Select the link connections you create previously<\/li><li>Click on the Start button<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"496\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-41-1024x496.png\" alt=\"\" class=\"wp-image-18996\" srcset=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-41-1024x496.png 1024w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-41-300x145.png 300w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-41-768x372.png 768w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-41-1536x744.png 1536w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-41.png 1917w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>You can follow the status of the data replication from the Synapse&nbsp; Studio<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Go to the monitoring hub<\/li><li>Select the Link connection option<\/li><li>Be sure that the status is running<\/li><li>Notice as well that a warning is displayed indicating the landing zone token has an expiring date. I will have to rotate the key to ensure for the replication to continue working<\/li><li>Click on the link connection name to see the detailed information of the replication<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"339\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-43-1024x339.png\" alt=\"\" class=\"wp-image-18998\" srcset=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-43-1024x339.png 1024w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-43-300x99.png 300w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-43-768x254.png 768w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-43-1536x508.png 1536w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-43.png 1617w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\"><li>Check the status of the replication per table you selected. When error occur you will see it here too. In this case you can click on the error to see the error message.<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"329\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-39-1024x329.png\" alt=\"\" class=\"wp-image-18994\" srcset=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-39-1024x329.png 1024w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-39-300x96.png 300w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-39-768x247.png 768w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-39-1536x493.png 1536w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-39.png 1654w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Control in the SQL pool that the tables have been created correctly and that they contain data<\/p>\n\n\n\n<p>From Synapse Analytics Studio<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Select the Data hub<\/li><li>From the Workspace tab, expand the table folder of your SQL pool and check the table created. The specific icon in front of the table indicate that it is a linked table<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"437\" height=\"505\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-38.png\" alt=\"\" class=\"wp-image-18993\" srcset=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-38.png 437w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-38-260x300.png 260w\" sizes=\"auto, (max-width: 437px) 100vw, 437px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\"><li>Hover on the table name<\/li><li>Click the [\u2026] button to create action on the table<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"351\" height=\"280\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-44.png\" alt=\"\" class=\"wp-image-18999\" srcset=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-44.png 351w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-44-300x239.png 300w\" sizes=\"auto, (max-width: 351px) 100vw, 351px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\"><li>Select New SQL Script<\/li><li>Click on Select TOP 100 rows to generate the query and see the result set<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"623\" height=\"389\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-40.png\" alt=\"\" class=\"wp-image-18995\" srcset=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-40.png 623w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-40-300x187.png 300w\" sizes=\"auto, (max-width: 623px) 100vw, 623px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\"><li>The query will be written in the SQL script frame<\/li><li>The dataset will be display below<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"388\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-42-1024x388.png\" alt=\"\" class=\"wp-image-18997\" srcset=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-42-1024x388.png 1024w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-42-300x114.png 300w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-42-768x291.png 768w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-42.png 1379w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>You can query your data and check the replication consistency by changing the query.<\/p>\n\n\n\n<p>You can publish your queries and thus create control script to control if the replication is running as expected.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Check to be done on SQL Server side<\/h2>\n\n\n\n<p>There are some checks you can do on your SQL Server side.<\/p>\n\n\n\n<p>Within the database use to link the tables in Synapse, you will find 3 new system tables in which you can query information about the linked tables using the change feed feature<\/p>\n\n\n\n<p>[changefeed].[change_feed_settings]<\/p>\n\n\n\n<p>[changefeed].[change_feed_table_groups]<\/p>\n\n\n\n<p>[changefeed].[change_feed_tables]<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"326\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-48-1024x326.png\" alt=\"\" class=\"wp-image-19004\" srcset=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-48-1024x326.png 1024w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-48-300x95.png 300w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-48-768x244.png 768w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-48-1536x488.png 1536w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-48.png 1654w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>You will find connection info used by Synapse to replicate the table through the link service running the following query on your database level:<\/p>\n\n\n\n<p>use [&lt;YourDatabaseName&gt;]<\/p>\n\n\n\n<p>select * from sys.database_scoped_credentials<\/p>\n\n\n\n<p>And check the result you obtain:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>The name of the scoped credential must match your Azure Storage Account container folder your defined<\/li><li>The principal id must match the database user id you used to connect to the database through the Microsoft integration Runtime service<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"988\" height=\"163\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-49.png\" alt=\"\" class=\"wp-image-19005\" srcset=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-49.png 988w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-49-300x49.png 300w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-49-768x127.png 768w\" sizes=\"auto, (max-width: 988px) 100vw, 988px\" \/><\/figure>\n\n\n\n<p>On table level check the propoties. You notice that the Table is replicated is set to True.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"697\" height=\"659\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-47.png\" alt=\"\" class=\"wp-image-19003\" srcset=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-47.png 697w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-47-300x284.png 300w\" sizes=\"auto, (max-width: 697px) 100vw, 697px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Limitation<\/h2>\n\n\n\n<p>In the documentation you can find information on the limitations you have at the moment. You will also find the know issues: <\/p>\n\n\n\n<p><a href=\"http:\/\/synapse-link-for-sql-known-issues\">https:\/\/docs.microsoft.com\/en-us\/azure\/synapse-analytics\/synapse-link\/synapse-link-for-sql-known-issues<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p>Even if this feature is only in preview mode, and if it seems a bit cumbersome to configure, I like the idea to be able to replicate your operational data to Synapse for real-time data analysis.<\/p>\n\n\n\n<p>It can be a good setup for such scenario.<\/p>\n\n\n\n<p>My next step will be to test how it behaves in a more changing environment, like having lot of transactions on the source system or changing the table structure and so on.<\/p>\n\n\n\n<p>Another aspect I want to experiment, is to plug Power BI reports on this Synapse Analytics&nbsp; linked tables.<\/p>\n\n\n\n<p>It is really a feature I will follow and I&#8217;m looking forward to see the further development.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Why is this feature interesting? The Azure Synapse Link for SQL Server 2022 will enable you to replicate your operational data into Azure Synapse Analytics dedicated SQL pool. Azure Synapse is an enterprise analytics service that accelerates time to insight across data warehouses and big data systems. Azure Synapse brings together the best of SQL [&hellip;]<\/p>\n","protected":false},"author":38,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[3271,1183,294,955,229,198,99],"tags":[1338,2553,2701],"type_dbi":[],"class_list":["post-18960","post","type-post","status-publish","format-standard","hentry","category-azure","category-big-data","category-business-intelligence","category-cloud","category-database-administration-monitoring","category-database-management","category-sql-server","tag-azure","tag-sql-server-2022","tag-synapse"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.2 (Yoast SEO v27.2) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>SQL Server 2022 - Azure Synapse Link - dbi Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.dbi-services.com\/blog\/sql-server-2022-synapse-link\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"SQL Server 2022 - Azure Synapse Link\" \/>\n<meta property=\"og:description\" content=\"Why is this feature interesting? The Azure Synapse Link for SQL Server 2022 will enable you to replicate your operational data into Azure Synapse Analytics dedicated SQL pool. Azure Synapse is an enterprise analytics service that accelerates time to insight across data warehouses and big data systems. Azure Synapse brings together the best of SQL [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.dbi-services.com\/blog\/sql-server-2022-synapse-link\/\" \/>\n<meta property=\"og:site_name\" content=\"dbi Blog\" \/>\n<meta property=\"article:published_time\" content=\"2022-09-15T08:11:53+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-09-10T13:48:12+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-7.png\" \/>\n<meta name=\"author\" content=\"Christophe Cosme\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Christophe Cosme\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"18 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/sql-server-2022-synapse-link\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/sql-server-2022-synapse-link\/\"},\"author\":{\"name\":\"Christophe Cosme\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/5cbf7c261d165a45977c85f535d6cb6a\"},\"headline\":\"SQL Server 2022 &#8211; Azure Synapse Link\",\"datePublished\":\"2022-09-15T08:11:53+00:00\",\"dateModified\":\"2024-09-10T13:48:12+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/sql-server-2022-synapse-link\/\"},\"wordCount\":2149,\"commentCount\":0,\"image\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/sql-server-2022-synapse-link\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-7.png\",\"keywords\":[\"Azure\",\"SQL Server 2022\",\"Synapse\"],\"articleSection\":[\"Azure\",\"Big Data\",\"Business Intelligence\",\"Cloud\",\"Database Administration &amp; Monitoring\",\"Database management\",\"SQL Server\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.dbi-services.com\/blog\/sql-server-2022-synapse-link\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/sql-server-2022-synapse-link\/\",\"url\":\"https:\/\/www.dbi-services.com\/blog\/sql-server-2022-synapse-link\/\",\"name\":\"SQL Server 2022 - Azure Synapse Link - dbi Blog\",\"isPartOf\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/sql-server-2022-synapse-link\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/sql-server-2022-synapse-link\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-7.png\",\"datePublished\":\"2022-09-15T08:11:53+00:00\",\"dateModified\":\"2024-09-10T13:48:12+00:00\",\"author\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/5cbf7c261d165a45977c85f535d6cb6a\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/sql-server-2022-synapse-link\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.dbi-services.com\/blog\/sql-server-2022-synapse-link\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/sql-server-2022-synapse-link\/#primaryimage\",\"url\":\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-7.png\",\"contentUrl\":\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-7.png\",\"width\":873,\"height\":292},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/sql-server-2022-synapse-link\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Accueil\",\"item\":\"https:\/\/www.dbi-services.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"SQL Server 2022 &#8211; Azure Synapse Link\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#website\",\"url\":\"https:\/\/www.dbi-services.com\/blog\/\",\"name\":\"dbi Blog\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.dbi-services.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/5cbf7c261d165a45977c85f535d6cb6a\",\"name\":\"Christophe Cosme\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/secure.gravatar.com\/avatar\/736ec7a3216e381c2ef81f210f381e613297d76c2120169411c4423c3c58992c?s=96&d=mm&r=g\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/736ec7a3216e381c2ef81f210f381e613297d76c2120169411c4423c3c58992c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/736ec7a3216e381c2ef81f210f381e613297d76c2120169411c4423c3c58992c?s=96&d=mm&r=g\",\"caption\":\"Christophe Cosme\"},\"description\":\"Christophe Cosme has more than 22 years of experience in architecture, development and implementation of IT solutions including 17 years in the Business Intelligence area as well as 10 years of experience working with the Microsoft SQL Server Business Intelligence suite. His experience and qualifications cover project management, business analysis, functional and technical requirements. His expertise also includes the implementation of IT solutions in national as well as international organizations. Christophe Cosme is Expert in MS SQL Server DB Engine, SSIS, SSAS, SSRS and PowerBI. Prior to joining dbi services, Christophe Cosme was Solution Lead Business Intelligence Diabetes Care at Hoffmann-La-Roche Ltd in Basel . He also worked as Senior Manager Head of Business Intelligence for Swiss International Airlines Ltd. Christophe Cosme holds a Master's degree in Engineering, Automation from the IT\u2013 ENSISA (F). His branch-related experience covers pharmaceuticals, IT and the airline sector.\",\"url\":\"https:\/\/www.dbi-services.com\/blog\/author\/christophe-cosme\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"SQL Server 2022 - Azure Synapse Link - dbi Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.dbi-services.com\/blog\/sql-server-2022-synapse-link\/","og_locale":"en_US","og_type":"article","og_title":"SQL Server 2022 - Azure Synapse Link","og_description":"Why is this feature interesting? The Azure Synapse Link for SQL Server 2022 will enable you to replicate your operational data into Azure Synapse Analytics dedicated SQL pool. Azure Synapse is an enterprise analytics service that accelerates time to insight across data warehouses and big data systems. Azure Synapse brings together the best of SQL [&hellip;]","og_url":"https:\/\/www.dbi-services.com\/blog\/sql-server-2022-synapse-link\/","og_site_name":"dbi Blog","article_published_time":"2022-09-15T08:11:53+00:00","article_modified_time":"2024-09-10T13:48:12+00:00","og_image":[{"url":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-7.png","type":"","width":"","height":""}],"author":"Christophe Cosme","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Christophe Cosme","Est. reading time":"18 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.dbi-services.com\/blog\/sql-server-2022-synapse-link\/#article","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/sql-server-2022-synapse-link\/"},"author":{"name":"Christophe Cosme","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/5cbf7c261d165a45977c85f535d6cb6a"},"headline":"SQL Server 2022 &#8211; Azure Synapse Link","datePublished":"2022-09-15T08:11:53+00:00","dateModified":"2024-09-10T13:48:12+00:00","mainEntityOfPage":{"@id":"https:\/\/www.dbi-services.com\/blog\/sql-server-2022-synapse-link\/"},"wordCount":2149,"commentCount":0,"image":{"@id":"https:\/\/www.dbi-services.com\/blog\/sql-server-2022-synapse-link\/#primaryimage"},"thumbnailUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-7.png","keywords":["Azure","SQL Server 2022","Synapse"],"articleSection":["Azure","Big Data","Business Intelligence","Cloud","Database Administration &amp; Monitoring","Database management","SQL Server"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.dbi-services.com\/blog\/sql-server-2022-synapse-link\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.dbi-services.com\/blog\/sql-server-2022-synapse-link\/","url":"https:\/\/www.dbi-services.com\/blog\/sql-server-2022-synapse-link\/","name":"SQL Server 2022 - Azure Synapse Link - dbi Blog","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.dbi-services.com\/blog\/sql-server-2022-synapse-link\/#primaryimage"},"image":{"@id":"https:\/\/www.dbi-services.com\/blog\/sql-server-2022-synapse-link\/#primaryimage"},"thumbnailUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-7.png","datePublished":"2022-09-15T08:11:53+00:00","dateModified":"2024-09-10T13:48:12+00:00","author":{"@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/5cbf7c261d165a45977c85f535d6cb6a"},"breadcrumb":{"@id":"https:\/\/www.dbi-services.com\/blog\/sql-server-2022-synapse-link\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.dbi-services.com\/blog\/sql-server-2022-synapse-link\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.dbi-services.com\/blog\/sql-server-2022-synapse-link\/#primaryimage","url":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-7.png","contentUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/09\/image-7.png","width":873,"height":292},{"@type":"BreadcrumbList","@id":"https:\/\/www.dbi-services.com\/blog\/sql-server-2022-synapse-link\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Accueil","item":"https:\/\/www.dbi-services.com\/blog\/"},{"@type":"ListItem","position":2,"name":"SQL Server 2022 &#8211; Azure Synapse Link"}]},{"@type":"WebSite","@id":"https:\/\/www.dbi-services.com\/blog\/#website","url":"https:\/\/www.dbi-services.com\/blog\/","name":"dbi Blog","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.dbi-services.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/5cbf7c261d165a45977c85f535d6cb6a","name":"Christophe Cosme","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/736ec7a3216e381c2ef81f210f381e613297d76c2120169411c4423c3c58992c?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/736ec7a3216e381c2ef81f210f381e613297d76c2120169411c4423c3c58992c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/736ec7a3216e381c2ef81f210f381e613297d76c2120169411c4423c3c58992c?s=96&d=mm&r=g","caption":"Christophe Cosme"},"description":"Christophe Cosme has more than 22 years of experience in architecture, development and implementation of IT solutions including 17 years in the Business Intelligence area as well as 10 years of experience working with the Microsoft SQL Server Business Intelligence suite. His experience and qualifications cover project management, business analysis, functional and technical requirements. His expertise also includes the implementation of IT solutions in national as well as international organizations. Christophe Cosme is Expert in MS SQL Server DB Engine, SSIS, SSAS, SSRS and PowerBI. Prior to joining dbi services, Christophe Cosme was Solution Lead Business Intelligence Diabetes Care at Hoffmann-La-Roche Ltd in Basel . He also worked as Senior Manager Head of Business Intelligence for Swiss International Airlines Ltd. Christophe Cosme holds a Master's degree in Engineering, Automation from the IT\u2013 ENSISA (F). His branch-related experience covers pharmaceuticals, IT and the airline sector.","url":"https:\/\/www.dbi-services.com\/blog\/author\/christophe-cosme\/"}]}},"_links":{"self":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/18960","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/users\/38"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/comments?post=18960"}],"version-history":[{"count":12,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/18960\/revisions"}],"predecessor-version":[{"id":19018,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/18960\/revisions\/19018"}],"wp:attachment":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/media?parent=18960"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/categories?post=18960"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/tags?post=18960"},{"taxonomy":"type","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/type_dbi?post=18960"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}