DB2 Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesDB2 Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today!
  #1  
Old March 31st, 2008, 09:40 PM
lostandfound lostandfound is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2008
Posts: 1 lostandfound User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 12 m 20 sec
Reputation Power: 0
Difference in date columns transposed as rows

Hi,

I need to transpose the diffrence between two date columns as the total number of rows in the result set. For example:

Temp: t1
sno date1 date2
1 12/03/2007 14/03/2007
2 13/03/2007 16/03/2007

Expected output
sno date
1 12/03/2007
1 13/03/2007
1 14/03/2007
2 13/03/2007
2 14/03/2007
2 15/03/2007
2 16/03/2007

Thanks in advance for the help.

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesDB2 Development > Difference in date columns transposed as rows


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway