This folder is for SQL query which creates the following required tables and stored procedures.
source
table which stores sample dataWaterMark
table storing table name and its watermark valueusp_UpdateWatermark
stored procedure to update watermark value
- Retrieve AzureSQL connection string including the user id and password from KeyVault.
- In the Azure Portal, navigate to provisioned resource group.
- Select the provisioned KeyVault.
- Click [Secrets] in left pane to see all secrets
- Click
watermarkdb-connection
secret. - Click current version, then click [Show Secret Value] button. You can see connection string of SQL Database.
- Connection string includes user id and password, so please copy them to notepad for future steps.
- Whitelist your IP address in Azure SQL Server.
- Navigate to AzureSQL Database instance and select Query Editor (preview). Run the
./config/watermark.sql
.