DBAsupport.com Forums - Powered by vBulletin
Results 1 to 4 of 4

Thread: link view to table

  1. #1
    Join Date
    Aug 2008
    Posts
    123

    link view to table

    Hi all,

    Is it possible to link view to table.

    I have request to create view in different isntance and then link it with the table in production instance to view.

    thanks
    Pat

  2. #2
    Join Date
    Sep 2002
    Location
    England
    Posts
    7,334
    yes, you just need select privelege on that tables across a dblink

  3. #3
    Join Date
    Aug 2008
    Posts
    123
    So i can create table called testtable1 on the instance and it can actually calling from the other database ?

    for example.
    Production Instance : test
    view instance : testlink

    tablename : testtable1 (can it actuall created on the link instance refrencing to production instance tablename test?)

    thanks
    pat

  4. #4
    Join Date
    Mar 2007
    Location
    Ft. Lauderdale, FL
    Posts
    3,555
    A view is nothing but a saved query; providing you have the right privs as appointed by Davey -if you can query the remote table over a dblink you can query the local view that queries the remote table over the dblink.

    Try it.
    Pablo (Paul) Berzukov

    Author of Understanding Database Administration available at amazon and other bookstores.

    Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width