I'm trying to create a view with subquery in DDT but when I see the fields of view, appears only in the field you search subquery.
It has another way to achieve this?
Thank you
Don't rely on that message window nor the fields it may (or may not) show once the view is closed. We have a simple RegEx pattern that attempts to parse out the table and some of the view details...but it is not 100% by any means. We did not feel like going to the energy of SQL Server to totally and 100% validate and parse a view since there are so many combinations. The important thing is...does it execute properly once deployed? That is really all that matters.
When the DDT deploys, it flags the database, UDFs, views, and sprocs with an extended property that indicates that the component was deployed using the DDT, so if a DBA or some other IT person adds their own views, UDFs, sprocs, etc. it will not remove them when updating. That is what is giving you the error it would seem.
So version details, etc. will be helpful. Thanks.