title: How do I select from a stored procedure in Sybase?
body: <p>My DBA has constructed me a stored procedure in a Sybase database, for which I don't have the definition.
  If I run it, it returns a resultset with a set of columns and values. I would like to SELECT further to reduce the rows in the result set. Is this possible?</p>
  
  <p>From <a href="https://stackoverflow.com/questions/728898/can-you-do-a-select-on-the-results-of-a-stored-procedure-in-t-sql">this question</a> it seems like I could insert the results into a temporary table, but I'm not sure I've got permissions to do this.</p>
  
  <p>Is there any way I can SELECT certain rows, or if not, can someone give me example code for simulating with a temporary table?</p>