Solved

ORACLE 10g: VIEW - add unique identifier

Posted on 2015-01-28
3
282 Views
Last Modified: 2015-01-28
Hello Experts,

I was wonder is it possible to create a unique_id to my Oracle view?  I know you can do this for a table, but my join duplicates each record making duplicate unique_id's of the table.

Thanks
0
Comment
Question by:Maliki Hassani
3 Comments
 
LVL 76

Assisted Solution

by:slightwv (䄆 Netminder)
slightwv (䄆 Netminder) earned 250 total points
ID: 40575801
You would need to add some identified to the underlying view query that uniquely identifies each row.

If the join is resulting in duplicates, maybe the join is wrong?
0
 
LVL 73

Accepted Solution

by:
sdstuber earned 250 total points
ID: 40575849
you can rownum to the view's query

if that doesn't do it, can you post your queries as well as what you'd like the results to look like? (sample data, not a written description)
0
 

Author Comment

by:Maliki Hassani
ID: 40575921
Got it, thanks!!
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Introduction A previously published article on Experts Exchange ("Joins in Oracle", http://www.experts-exchange.com/Database/Oracle/A_8249-Joins-in-Oracle.html) makes a statement about "Oracle proprietary" joins and mixes the join syntax with gen…
Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
This video shows syntax for various backup options while discussing how the different basic backup types work.  It explains how to take full backups, incremental level 0 backups, incremental level 1 backups in both differential and cumulative mode a…
This video shows how to copy an entire tablespace from one database to another database using Transportable Tablespace functionality.

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now