Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Select Query in Want unique time.

718557Apr 23 2010 — edited Apr 28 2010
Please go through below detail

I have one table.

File Id, Date, Time

00001 10/12/2010 10:10
00001 10/12/2010 10:10
00001 10/12/2010 10:10
00001 10/12/2010 10:11

00002 10/12/2010 10:10
00002 10/12/2010 10:10

I want unique fileid,date and time in select query only.

If apply group by File Id, Date, Time then I want increment time +1.

New column
----------
00001 10/12/2010 10:10 10:10
00001 10/12/2010 10:10 10:12 <-- We can not set 10:11 due to it's already exist in table.
00001 10/12/2010 10:10 10:13
00001 10/12/2010 10:11 10:11


In short i would like select fileid,date,time,(Id duplicate entry then time +1 to generate uniquness).



-------------------------------------
I have do this for myself but i face this problem.


Query to fatch below all duplicate row

time+1
00001 10/12/2010 10:10 10:10
00001 10/12/2010 10:10 10:11 <-- But this enty again become duplicate due to it's already exist in table.
00001 10/12/2010 10:10 10:12

Thanks in advance.
This post has been answered by Aketi Jyuuzou on Apr 24 2010
Jump to Answer

Comments

524806
According to this:

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6186200

...the underlying JVM bug that causes the Adler32 issue has been fixed in pre 1.6 maintenance releases 1.3.1_17, 1.4.2_11, and 1.5.0_07. My once-reliably reproduction test no longer triggers the problem in the 1.5.0_07 JVM.
1 - 1
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on May 26 2010
Added on Apr 23 2010
16 comments
2,824 views