79611048

Date: 2025-05-07 16:45:30
Score: 1
Natty:
Report link

Best way I have found is to add as a Database Reference

Right click on References > Add Database Reference...

In the Add Reference Dialog you can add a reference to a dacpac and check the box at the bottom to "Suppress errors caused by unresolved references in the referenced project" which will ignore errors in the referenced project, so you don't have to worry about the dependency chain.

Add Database Reference Dialog

This will automatically add the SQLCMD variables and you should then be able to use them in the view. enter image description here

Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Brenton Major