SQL Language (MOSC)

MOSC Banner

SQL to find duplicate rows created within 5 seconds of each other

edited Jun 18, 2013 4:39PM in SQL Language (MOSC) 3 commentsAnswered
Hi,

We have a process that has created duplicate rows in a table where the records are identical except the creation date of the two records is approx 5 seconds apart.

I need an SQL query that will retrieve all the transaction_id's that have duplicates and were created within a few seconds of each other.

The query doesn't need to retreive both rows in question, just a single row with the transaction_id affected.

thanks in advance,

regards,

Andrew

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center