Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

shredding a table value returned from a udf

$
0
0

Hi.  We run 2012 enterprise.  If I return a table from a udf, and wish to select from it joining on perhaps the pk returned by the query from which the udf was called, thus generating a one to many resultset, what syntax should I use,,,

...so lets say my main query selects the pk of table a, but also selects (ie is returned) a table of integers from a call to a udf based on the value of another column in table a, and i want to explode/permutate the reults as pk * integer entry, what syntax should I use?


Viewing all articles
Browse latest Browse all 23857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>