how to create function with parameters

Database
N/A

how to create function with parameters

Hi,

Please give hints on how to create function with parameters.

Code snipsets would be a great help.