Dear Friends,
I would Like to know the query.Which will have the condition is , Two dates Those Date START_DT And END_DT ,I want to
Fetch the data according to the two dates and Current date. The Current date between the two dates .
How to select Data in group of datas..I require query in Oracle Based..
Thanks in advance ,
by
Karthik.k

Iftikar HussainPosted Aug 13, 2013, 7:26 AM
Try like this
Regards,
Iftikar
Karthik KPosted Aug 16, 2013, 4:02 AM
SELECT * FROM YourTable
Anyway i am using the above code ...i Unable to use Your Procedure..because i want get some field in values from one table so i cant use that one and then i have to insert it to one table ..
Thanks in advance .
-Karthik
Iftikar HussainPosted Aug 16, 2013, 3:11 AM
IF EXISTS(SELECT 1 FROM YourTable
BEGIN
INSERT INTO your other table
END
Regards,
Iftikar
Karthik KPosted Aug 16, 2013, 3:08 AM
Iftikar HussainPosted Aug 16, 2013, 2:45 AM
Regards,
Iftikar
Karthik KPosted Aug 16, 2013, 2:40 AM
i Have changed that Coding Like above
Iftikar HussainPosted Aug 16, 2013, 2:01 AM
Karthik KPosted Aug 16, 2013, 1:58 AM
Karthik KPosted Aug 15, 2013, 4:55 AM
Sanjeeb LenkaPosted Aug 13, 2013, 7:12 AM
select * from tablename
WHERE trunc(ORDER_DATE) BETWEEN to_date('03-01-2008','MM-DD-YYYY') AND TO_DATE('03-11-2008','MM-DD-YYYY')