select * from sys.views where object_id = object_id(n'[dbo].[vw_name]');
select count(*) from sys.views where object_id = object_id(n'[dbo].[vw_test]')
Asked In: Many Interviews | Alert Moderator
Login to post response