Data Warehousing Community Forum
February 09, 2012, 01:37:02 pm
Home
Help
Search
Login
Register
Data Warehousing Community Forum
>
Databases
>
Oracle
>
Foreign key based on View ?
Pages: [
1
]
Go Down
« previous
next »
Print
Author
Topic: Foreign key based on View ? (Read 1184 times)
unknown
DW Apprentice
Reputation: +8/-0
Offline
Posts: 44
Foreign key based on View ?
«
on:
January 19, 2008, 11:48:59 pm »
A foreign key can be created based on a view ?
If so.., Please explain how it can be done ??
Logged
Thanks
Unknown
Sipra
Founder
Reputation: +59/-0
Offline
Posts: 323
Am the King...
Re: Foreign key based on View ?
«
Reply #1 on:
July 21, 2010, 10:27:00 pm »
No, foreign keys have to be created against user tables.
But guru's say that it can be done with some constraints..!
Logged
Sipra
Founder
www.dwforum.net
Druid_Elf
DW Fresher
Reputation: +2/-0
Offline
Posts: 2
Re: Foreign key based on View ?
«
Reply #2 on:
July 22, 2010, 12:08:17 pm »
Hi,
As stated it can not be done on the view itself, but I found an article which might allow you to solve your problem
Quote
Source -
http://bytes.com/topic/oracle/answers/64610-create-primary-key-view
It comes down to creating to FK on the base table of the view. Hope it helps.
«
Last Edit: July 23, 2010, 12:18:57 am by Sipra
»
Logged
Pages: [
1
]
Go Up
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> Introductions
=> Anouncements & News
=> Suggestions
=> General Discussion
=> Job Opportunities
-----------------------------
Data Warehousing
-----------------------------
=> Data Warehousing Concepts
=> Data Modeling
-----------------------------
Databases
-----------------------------
=> Oracle
===> PL/SQL
=> Microsoft SQL Server
=> IBM DB2
=> Teradata
-----------------------------
ETL Tools
-----------------------------
=> Informatica
===> Installation & Configuration
=> Data Stage
=> Ab Initio
=> Oracle Warehouse Builder
=> DTS/SSIS
-----------------------------
Reporting Tools
-----------------------------
=> Business Objects
=> Cognos
=> Crystal Reports
=> Hyperion
=> Brio
=> Microstrategy
-----------------------------
Operating Systems
-----------------------------
=> UNIX / Linux
===> Unix Shell Scripting
=> Windows
-----------------------------
Other Technologies & Tools
-----------------------------
=> JAVA