Avatar of GRChandrashekar
GRChandrashekar
Flag for India asked on

format code appars twice error

I get format code appears twice error in the following query

SELECT SCHEMEDETAIL.DISCOUNTAMOUNT,
       SCHEMEDETAIL.DISCOUNTPERCENT,
       SCHEME.SCHEME_ID
  FROM SCHEME, SCHEMEDETAIL
 WHERE     (SCHEME.SCHEME_ID = SCHEMEDETAIL.SCHEME_ID)
       AND (SCHEME.FLAG = 0)
       AND (SCHEMEDETAIL.FLAG = 0)
       AND SYSDATE BETWEEN TO_DATE (EFFECTIVEDATEFROM, 'DD/MM/YYYY HH:MM')
                       AND  TO_DATE (EFFECTIVEDATETO, 'DD/MM/YYYY HH:MM');
Oracle Database

Avatar of undefined
Last Comment
devind

8/22/2022 - Mon
devind

What is the value of EFFECTIVEDATEFROM and EFFECTIVEDATETO ?
GRChandrashekar

ASKER
date time
devind

What i meant was actual value stored in variable/column not the type...
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck
GRChandrashekar

ASKER
11/07/2011 11:00:20 PM
13/07/2011 11:00:40 PM
ASKER CERTIFIED SOLUTION
devind

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
devind

MM  is for month