View

  • I have an application(timematters) where the DB is created from tha app. when i check into DB i dont see any realtions between tables except sysid column which is in almost all the tables. Each sysid is different, when I create a view from EM it does inner join between the tables where the join is on sysid.because of that when i do a select view i dont get any rows returned.

    can i create a view on such DB's or else is there any way where I can get a report from different tables.

  • we will need more info on your db, and if possible post the ddl


    Everything you can imagine is real.

  • You can simply remove the join that's automatically created between SysID's in EM in the design mode.  Then, create whatever view you want using your own joins.

    --Jeff Moden


    RBAR is pronounced "ree-bar" and is a "Modenism" for Row-By-Agonizing-Row.
    First step towards the paradigm shift of writing Set Based code:
    ________Stop thinking about what you want to do to a ROW... think, instead, of what you want to do to a COLUMN.

    Change is inevitable... Change for the better is not.


    Helpful Links:
    How to post code problems
    How to Post Performance Problems
    Create a Tally Function (fnTally)

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply