insert into acs_views
(object_view, object_type, pretty_name, root_view_p)
values
(:object_view, :object_type, :pretty_name, 'f')
delete from acs_views
where object_view = :object_view
select *
from acs_views
where object_view = :object_view
select view_attribute
from acs_view_attributes
where object_view = :object_view
order by sort_order
select attribute_id
from acs_view_attributes
where object_view = :object_view
order by sort_order