Hi,
I'm working with a view that looks like this...
create view [dbo].[vallsearch]
as
select * from archiveebisql.dbo.search (nolock)
union all
select * from ebisql.dbo.search (nolock)
The two tables I'm union-ing are in two different databases, therefore I can't use schemabinding and therefore I can't create an index on the view. My question is, because there are indexes on these tables, will those indexes "bubble up" and be used when I select from the view?
Thanks
James
--
James
I'm working with a view that looks like this...
create view [dbo].[vallsearch]
as
select * from archiveebisql.dbo.search (nolock)
union all
select * from ebisql.dbo.search (nolock)
The two tables I'm union-ing are in two different databases, therefore I can't use schemabinding and therefore I can't create an index on the view. My question is, because there are indexes on these tables, will those indexes "bubble up" and be used when I select from the view?
Thanks
James
--
James