Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

Time In and TimeOut Records (very urgent Please)

$
0
0

Dear All,

I Need to display Time In and Timeout Details in My Report...

Herewith i have attached table structure and Expected output...

Looking for a favorable reply...


VISITOR IN TABLE

EMPID           NAME    ACTION       visitorTime
1                  ASWIN    IN        2013-03-15:01:23
1                  ASWIN    IN        2013-03-15:15:17
1                  ASWIN    IN        2013-03-15:22:10
2                  ANJALI    IN        2013-03-15:05:23
3                  RINI        IN        2013-03-15:07:45
1                  ASWIN    OUT        2013-03-15:12:32
1                  ASWIN    OUT        2013-03-15:24:10
2                  ANJALI    OUT        2013-03-15:18:15
3                   RINI       OUT        2013-03-15:30:28



EXPECT OUTPUT

EMPID      NAME           INTIME             OUTTIME       
1           ASWIN     2013-03-15:01:23    2013-03-15:12:32
1           ASWIN     2013-03-15:15:17    NULL
1           ASWIN    2013-03-15:22:10    2013-03-15:24:10
2          ANJALI     2013-03-15:05:23    2013-03-15:18:15
3          RINI         2013-03-15:07:45    2013-03-15:30:28

Thx.
 


Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>