Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

VIEW vs. TABLE performance

0 views
Skip to first unread message

DZube

unread,
Nov 11, 2003, 12:06:20 PM11/11/03
to
Background:
(2) database ::
a) Source tables
b) Fact (derived) tables

Challenge:
In order to provide the users of the Fact database access
to the underlying source tables without requiring them to
understand that there is a separate database (and the need
to include additional qualifiers in the table reference in
their SELECT statements)

Solution?:
In the Fact database,
CREATE VIEW [Base Table1] AS
Select * From [Source database].dbo.[Base Table1]

Is there any performance degradation due to referencing
this rather simple view in a SELECT statement vs.
referencing the base table directly?

/.dz

Adam Machanic

unread,
Nov 11, 2003, 1:15:02 PM11/11/03
to
Performance should be identical.


"DZube" <anon...@discussions.microsoft.com> wrote in message
news:036701c3a876$20dbaa20$a101...@phx.gbl...

0 new messages