Views can be contained in other object definitions.
create view V1 as select C1 from T1 create procedure P as select * from V1
create or replace V1 as select C1, C2 from T1
create view V2 as select C1, C2 from T2 create procedure P as select C2 from V2
create or replace V2 as select C1 from T2
Before you replace a view, run sp_depends to determine if there are any stored procedures or parent views that depend on the view you are replacing. If such stored procedures or parent views exist, replace the stored procedures or parent views as necessary after replacing the view.