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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Calling a query with a user define function UDF

Status
Not open for further replies.

JBaileys

Technical User
Jun 23, 2003
244
US
Within a function, a query is built which can be quite complex. The query is a varchar which is manipulated by the function.

What is the syntax to execute the query? The result set is functions return (returns a table).


Thanks,

JB
 

I have tried multiple attempts. In one attempt, I do call a stored procedure and received an error SQL0746N routine ... violated nested sql statement rules when attempting to perform operation "modify" on table ... sqlstate = 57053

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top