oracle - min function in PL/SQL -


i want choose min value in 2 date ,such

c := min(a,b); 

it occupy compiler error :

error(20,10): pls-00103: encountered symbol "," when expecting 1 of following:
. ( ) * @ % & - + / @ mod remainder rem || multiset

i know can use aggregate function min in sql. dan't whether there similar func can use pl/sql?

in plsql, least function returns smallest value in list of expressions.


Comments

Popular posts from this blog

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

fortran - Function return type mismatch -

queue - mq_receive: message too long -