Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations dencom on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

calling table valued function in select statement

Status
Not open for further replies.

fikir

Programmer
Jun 25, 2007
86
hello every one

I have a table valued function. and trying to use it in a select statement like this

select
(select first_name from tblValuedFunction(per.id) as name
from person

it is generating an error

how can I call a table vaued function in select statemet

Thanks,
 
What this function returns?
It should returns TABLE. Can you post the code from your function. Also If that function returns table why not just JOIN the result?

Borislav Borissov
VFP9 SP1, SQL Server 2000/2005.
MVP VFP
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top