MySQL Forums
Forum List  »  Sybase

Re: set multiple element from select in procedure stored
Posted by: Xavier Manach
Date: December 23, 2009 04:54AM

Mysql best solution :)
declare a smallint;
declare b smallint;
select col_a, col_b from my_table where col_c=1 INTO a,b;

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: set multiple element from select in procedure stored
4812
December 23, 2009 04:54AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.