SQL Language (MOSC)

MOSC Banner

Best approach to slove this problem

edited Oct 16, 2014 8:39AM in SQL Language (MOSC) 4 commentsAnswered ✓

Hello,

i have a log table with fields which contains start and end of a process. To explain here is a small example:

TSTAMPDISPOJRNNRACTIONDOKARTDOKNR
15.10.2014 15:13:00.40200028974308UPA70358598
15.10.2014 15:13:00.40200028974306UPA70358598
15.10.2014 15:13:00.40200028974307UPA70358598
15.10.2014 15:13:05.48000028974313UPA70358600
15.10.2014 15:13:05.48000028974312UPA70358600
15.10.2014 15:13:05.48000028974314UPA70358600
15.10.2014 15:13:09.32300028987183IAB10677866
15.10.2014 15:13:09.32300028987182IAB10677866
15.10.2014 15:13:10.57300028974198UPA70358562
15.10.2014 15:13:10.58900028974199UPA70358562
15.10.2014 15:13:10.58900028974197UPA70358562
15.10.2014 15:13:15.79200028974361UPA70358616
15.10.2014 15:13:15.80700028974360UPA70358616
15.10.2014 15:13:15.80700028974362UPA70358616
15.10.2014 15:13:23.01000028987183UAB10677866
15.10.2014 15:13:23.02600028987182UAB10677866
15.10.2014 15:13:55.41500028987170DAB10677710
15.10.2014 15:13:55.47800028987184IAB10677710
15.10.2014 15:13:55.50900028987185IAB10677710
15.10.2014 15:13:55.55600028987186IAB10677710
15.10.2014 15:13:55.60300028987187IAB10677710
15.10.2014 15:13:55.61800028987188IAB10677710
15.10.2014 15:13:55.64900028987189IAB10677710
15.10.2014 15:14:13.493000 (starts here)28987171UBS10033686
15.10.2014 15:14:13.508000 (....)28987173UBS10033686
15.10.2014 15:14:13.508000 (interrupted/disconnected)28987172UAB10055987
15.10.2014 15:14:13.524000 (ends here)28987174UBS10033686
15.10.2014 15:14:24.53900028984575UAB10675867
15.10.2014 15:14:24.97600028983752UAB10677690
15.10.2014 15:14:25.30500028983990UAB10677701

I want to find cases where a process (DOKART/DOKNR)

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