SQL Language (MOSC)

MOSC Banner

Date format to for evaluation

edited Feb 13, 2012 3:43PM in SQL Language (MOSC) 4 comments
Hi ,

Here on table FF0911 the datatype of UPDT_DT  is DATE ,  I see the condition UPDT_DT > :p2  does not seem work , even if UPDT_DT less than the value the record is getting applies from source database .

  do I need to change the updt_by format to     to_char (  ','DD/MM/YYYY HH24:MI:SS') or something like this which satisfy the below condition

Select count(*) conflict from  FF0911 where  STATE_NUMBER = :P1 and &
UPDT_DT > :p2"

MAP GIAADMIN. FF0911 , TARGET GIAADMIN. FF0911 , &
REPERROR (21000, DISCARD), &
SQLEXEC (ID lookup, ON UPDATE, &

QUERY "select count(*) conflict from  FF0911 where  STATE_NUMBER = :P1 and &

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center