A function is code that accepts one or more inputs and calculates an output.   In an Oracle function, the input may be one or more columns, (e.g. LENGTH(col1) or GREATEST(col1, col2, …)) or multiple rows, e.g. MAX(col1).  A common single row function… more »