Job Seekers   Employers
dbapool: Authors | Submissions | Contact Us
   Forgot password? | Sign up
  Home   Discussion Forum   Articles   Interview Questions   FAQs   Scripts   Rewards   Analyzer   White Papers   Blog   Certification   Downloads   Tools
 

Topic: SQL*Plus and PL/SQL >> urgent -Query help

Disclaimer: The purpose of all dbapool forums including OCP and Other Oracle Certification forums is to help each other with specific issues but not to share dump and copyrighted exam content, materials or intellectual property. You may review the entire Oracle Certification Program Candidate Agreement online Here.



  


 Title: urgent -Query help
 madhu  Posted: Sep 29, 2006 05:05:52 AM

 Total Post: 1
 Joined: Sep, 2006






  I have the following fields in one table

receipt_start_date , receipt_end_date, eff_start_date, eff_end_date

eff_start_date eff_end_date receipt_start_date receipt_end_date
9/7/2006 10/31/2006 9/7/2006 2/31/2999
11/1/2006 12/31/2999 9/7/2006 12/31/2999

9/7/2004 9/7/2005 9/7/2004 12/31/2999
9/6/2005 12/31/2006 9/7/2004 12/31/2999
9/8/2005 12/31/2999 9/7/2004 12/31/2999

For Each receipt_start_date , receipt_end_date have the eff_start_date and eff_end_date


See the Second Set

Second row eff_start_date always greater than the First row eff_end_date (and must be successive of next date (next date of eff_end_date of first row) like first set)

I have to find out these cases

I tried for these cases I couldn’t get the proper query . please help me out.

Is it possible through query or we have to write the procedure




 Time Zone: EDT

  




Forum Rules & Description


Who Can Read The Forum? Any registered user or guest
Who Can Post New Topics? Any registered user
Who Can Post Replies? Any registered user




 








Get FREE Magazines

Top 10 Forum User

  Murtuja Khokhar857
  Mohammed Taj746
  positive fanatic483
  Jayanta Sur479
  Vigyan Kaushik386
  Gopu Gopi334
  Gitesh Trivedi322
  Vinoth Kumar264
  neeraj sharma258
  Ramesh Jois246






oracle Mag



  About Us Advertise Terms of Use Privacy Newsletters Contact Us    

Home   Discussion Forum   FAQs  Articles  Jobs   Newsletters  Directory  Downloads 

Our Premium Sponsor
Confio Software