Hi all
I have a function which takes two parameter type and value. According to the type it will search the corresponding table whether the value exist or not and return a boolean value. Now I have created a table with the type as columns. I want to pass the column name and its corresponding values to be passed to the function.
For example
manager employee
======= =========
leo john
lia joesph
this is the table with column name manager and employee and their corresponding values. I need to get like
function validate(columnname1,columnvaue1),
function validate(columnname1,columnvaue2),
function validate(columnname2,columnvaue1),
function validate(columnname2,columnvaue2)
Can you please suggest me a solution....