Oracle's Sequence in MySQL (no replies)
(MySQL.com) (I guess this goes here)
I want to make something (like a Procedure) that do the same than Oracle's Sequences.
For example, if it's with a Procedure:
call procedureasd(100,200,50,1,1,@a);
100 = Start number
200 = Max number
50 = Min number
Update update feed set failed_fetches=0, fetched=current_timestamp() where feed_id = 1268 failed: 1142 [UPDATE command denied to user '334187_hdlns_ms5'@'10.187.248.89' for table 'feed'] in [update feed set failed_fetches=0, fetched=current_timestamp() where feed_id = 1268]
updated 1268 (MySQL User Forums), inserted 30, updated 0, at 2012-06-02 00:13:34