hi all,
can i pass field name of a table as a parameter in a function created in postgres,
what i mean is i have one table :student with field names
id
name
add.
can i create a function where i can pass either of the fieldname as a parameter.
so that 1 function can be used for either of the conditions.
TIA
can i pass field name of a table as a parameter in a function created in postgres,
what i mean is i have one table :student with field names
id
name
add.
can i create a function where i can pass either of the fieldname as a parameter.
so that 1 function can be used for either of the conditions.
TIA
Comment