Re: Creating relationship between views



If this is a 3rd party database, you run the risk of schema changes
with future upgrades. Given that, you do what you want.

I think I understand what you'd like to do. You can use your views to
join tables on like items. It may speed up reporting.

Be careful doing this though. You could jeapordize your contract with
the vendor if you alter "their" database. I'd suggest creating views
within your own reporting database pointing at that source database.
3rd party applications are often written so generic that they don't
lend to good adhoc queries but lend to portability.


On Jan 3, 8:10 am, "Sue" <iyer_san...@xxxxxxxxxxx> wrote:
This is a 3rd party database which does not have any refrential
integrity built on the tables, but the application would take care of
it. I'm trying to do some adhoc reporting with it. And for that as a
general rule, we use the views and not the tables. We are trying to see
if we could create those relationships on the views we have written in
the database instead of doing so in the DataSourceViews in Adhoc.

Ed Murphy wrote:
Sue wrote:

Is there a way to create a relationship between the views in a
database.

More like a Primary - Foreign key relationship like you would do for
Tables.

Why wouldn't you just create a relationship between the tables
underlying each view?

.



Relevant Pages

  • Creating index on table at subscriber
    ... I have a database for a 3rd party application that I need to report from. ... Since I can't do anything to the 3rd party database, ... which are critical to some complicated queries I'm running. ... Can I do it without breaking the replication or the databases? ...
    (microsoft.public.sqlserver.replication)
  • Re: Sage Export
    ... Stephane Wierzbicki wrote: ... are maybe using a 3rd party Database? ... their own proprietary database. ... CopyTiger - advanced database replicator for Interbase/Firebird! ...
    (borland.public.delphi.thirdpartytools.general)
  • Re: 3vl 2vl and NULL
    ... reporting, MV end-users were either churning out reports and ad hoc ... MV-database-independent applications as often as they do in the SQL ... where I cannot leave MV behind unless I can find a better data model. ... screen to be identical to the logical data model of the database. ...
    (comp.databases.theory)
  • Re: Reporing service failure
    ... I understand that when you tried to configure your database for your SQL ... Server Reporting Services, you encountered the logon failure error. ... And then configure your SSRS databases via Reporting Services Configuration ...
    (microsoft.public.sqlserver.security)
  • RE: Reporing service failure
    ... I understand that when you tried to configure your database for your SQL ... Server Reporting Services, you encountered the logon failure error. ... it was strange that the audit failure was for another user account NT ... And then configure your SSRS databases via Reporting Services Configuration ...
    (microsoft.public.sqlserver.security)