sql server - t-sql function that returns table. How to make a view that returns multiple tables (union -ed) -


i have function returns table. (t-sql microsoft sql server 2008)

i call function like:

select * calcsomething( 21 ); 

how call function multiple id's. , unioned in 1 table.

something like:

select * users, calcsomething( users.id ) 

select  cs.*    users u cross apply         calcsomething(u.id) cs 

Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -