title: Select run time temp table
body: <p>I have a scenario where i need to pull a temp table data at run time in 1 select sql query. The below does not work. Any advise?</p>
  
  <pre><code> select * from   
    (
       insert into #temp3   
       select * from GetOrgs('14090',0,1)  
    )
  </code></pre>