Hey Priya! It looks like you’re trying to add descriptions to tables and columns in your Azure Dedicated SQL Pool (Gen2) but ran into issues with sp_addextendedproperty. Unfortunately, the dedicated SQL pool currently does not support sp_addextendedproperty for adding extended properties to tables or columns.
For now, you can use tags in Azure Synapse Analytics to help manage metadata. Tags can be added to Azure resources, including SQL pools, and are key-value pairs that can provide some descriptive context. Here’s a brief look at how to use tags:
- Go to your SQL pool resource in the Azure portal.
- Select the Tags option.
- Add your tags as needed (make sure your pool is in a resumed state to perform this operation).
Important Limitations:
- The primary database doesn’t support tags, but other databases, including Azure Synapse Analytics databases, do.
- If you want descriptions to be queryable via T-SQL and visible in metadata views, you might need to consider maintaining an external documentation or look into data catalog solutions like Azure Purview in the future.
Documentation Reference:
For more detailed guidance, check out the following documentation:
If you need native metadata storage directly within the dedicated SQL pool, it looks like that's currently not an option. However, you can explore workarounds like using tags or data cataloging solutions.
Hope this helps! If you have any other questions or need more clarification, just let me know!