Garayed.com  

Go Back   Garayed.com > Oracle
FAQ Members List Calendar Search Today's Posts Mark Forums Read


Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-10-2005, 10:06 AM
fmarchioni@libero.it
 
Posts: n/a
Default create materialized view

Hi all Oracle users !
I'm trying to build a materialized view in
order to import daily data from another DB

CREATE MATERIALIZED VIEW VW_LINKS_155
BUILD IMMEDIATE
REFRESH FAST NEXT sysdate + 1
AS SELECT * FROM VW_LINKS_155@snap_dblink

The matter is that Oracle complains that VW_LINKS_155@snap_dblink (a
remote view accessed via snap_dblink ) doesn't have a PK constraint.

Forgive my ignorance but views cannot inherit PK from their tables nor
it's possible to target a PK on a view ?

Can you give me a good advice ?
Thanks a lot
Francesco

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 05:29 AM.




LinkBacks Enabled by vBSEO 3.0.0 © 2007, Crawlability, Inc.