Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations GregLocock on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help Needed Urgent with SQL Query

Status
Not open for further replies.

tranz125

Computer
Aug 29, 2005
1
Hello,

I have the following scenario please help:

i have my source data as::

DEL STATUS TIMESTAMP EVENT

D1 ACT JAN 13 audit
D1 CURE JAN 23 CURRENT



MY TARGET TABLLE MUST HAVE DATA IN THSI FORMAT:

DEL STATUS EFFECTIVE_DATE END_DATE

D1 ACT JAN 13 JAN 23
D1 CURE JAN23 NULL


I am trying to write a SQL to implement it please help me or give your suggestions to implement it.


Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor