I Have a table-valued function which return 2 columns and 1 row. I would like to use those values in the select statement. Kindly help me in fetching the value from table.
Edit (From OP's comments)
something like
select a,b (select c1 from MyTableFunction(Param1, Param2)) as c,
(select c2 from MyTableFunction(Param1, Param2)) as d
from main_table