Hi i have an sql function which returns a table (set of records)
SELECT * FROM myFunction('213123');
now i have a query which gives me all id’s
SELECT "runnerId" FROM log GROUP BY "runnerId"
how can i make one query which calls the function for each “runnerId” and UNIONs all the results
Use
cross apply/outer applyas ta.speot.is said: