title: how to pass a database column as a parameter in a user defined function?
body: <p>i have a code in sql for string comparison which takes two parameters as input works upon it and returns a result. both of the parameters are words, i want to change the parameter from a single word to a database column. how do i do that? </p>
  
  <p>say for example in java its like storing the data in an array and than passing the whole array. can something like this be done in sql?</p>