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
5312
December 23, 2009 04:54AM


Sorry, you can't reply to this topic. It has been closed.
This forum is currently read only. You can not log in or make any changes. This is a temporary situation.

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.