Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Oracle Miscellaneous > Finding out err...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 2 Topic 6875 of 6987
Post > Topic >>

Finding out erroneous records

by Sandy80 <svarshneymail@[EMAIL PROTECTED] > May 5, 2008 at 01:00 AM

Hi,

I have a table that has sample records like below:

Emp No.		Unique ID		From Date		To Date
11		1234		01-Jan-2005	30-Sep-2005
11		2345		01-Oct-2005	31-Oct-2005
11		3456		01-Nov-2005	31-Oct-2005


The task that I have is to find out records where the From Date is
greater than the To Date. This is needed because the 3rd record in the
example above is actually an erroneous record which needs to be
deleted. The query that I was able to write was returning the 2nd
record also because 01-Oct-2005 is greater than 30-Sep-2005. Please
help me with the query which would return only the 3rd record.

Any help would be appreciated...thanks!
Sandy




 2 Posts in Topic:
Finding out erroneous records
Sandy80 <svarshneymail  2008-05-05 01:00:26 
Re: Finding out erroneous records
"fitzjarrell@[EMAIL   2008-05-05 05:39:53 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan13V112 Fri Jul 4 20:40:00 CDT 2008.