Dear all,
Do any of you have a way of guarding Views in the data warehouse?
I have some views which I for archiving purposes rather not delete, but this is giving me issues when I want to deploy the project as a whole.
Thanks!
Dear all,
Do any of you have a way of guarding Views in the data warehouse?
I have some views which I for archiving purposes rather not delete, but this is giving me issues when I want to deploy the project as a whole.
Thanks!
Best answer by daniel
Hi Andrew,
Thanks for the great sugestions. For me the best way would be not to change to many thing in the view, because that could possibly be a lot of rework later on when the view needs to be active again.
A collegue at the client side has solved it like this (for now):
In the view he has left the ‘Create View [Schema].[TableName] AS’ and added in the line underneath: SELECT 1 AS hide
And then a multi line comment, commenting all everything. This is the least amount of work and it is in no way destructive. Until there is a guard possibility in TX I think I like this option.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.