I have defined a logic where I want to use %
percentage as a calculation but its giving me error while using.
Below is the logic.
ELSIF V_ANCHOR_NONANCHOR = 'Anchor'
THEN
v_STD_REVISED_AMT := (V_STANDRD_AMT - v_OD_Discount) - ((V_STANDRD_AMT - v_OD_Discount * 10%));
and the error is
Error(103,94): PLS-00103: Encountered the symbol "%" when expecting one of the following: ) , * & = - + < / > at in is mod remainder not rem => <an exponent (**)> <> or != or ~= >= <= <> and or like like2 like4 likec as between || member submultiset The symbol "%" was ignored.
Please suggest how to use it.
update
v_STD_REVISED_AMT := (V_STANDRD_AMT - v_OD_Discount) - ((V_STANDRD_AMT - v_OD_Discount * 0.1), (V_STANDRD_AMT - v_OD_Discount));
giving error as
Error(108,22): PLS-00412: list of values not allowed as argument to this function or procedure
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…