[Db] contatore server side

Marcello Vezzelli marcello a vezz.it
Mer 3 Gen 2007 15:04:50 CET


Marcello Vezzelli wrote:
>
> Stavo leggendo questo...
> http://www.onlamp.com/pub/a/onlamp/2005/02/03/triggers.html
>
> Se anziché SET @x = @x + 1 questo valore di x me lo ricavo dalla 
> tabella con una select, non ho costruito un autoincrementante fatto 
> col trigger?
/
REMINDER:/ MySQL functions have severe limitations. For example, they 
can't |SELECT| from a table. Trigger activations are like function calls 
and are subject to the same limitations.

La risposta è no.

Ma che pacco è sta cosa!

In questi momenti mi vien voglia di buttare tutto e ritornare a firebird.

Ciao
Marcello



Maggiori informazioni sulla lista Db