RowId di Oracle anche su MySql

MySQL, Varie oscar Commenta l'articolo

E’ possibile avere il rowid di Oralce anche su MySql è sufficiente usare la seguente variabile:

set @a := 0; 
select *, @a := @a+1 as rowid 
from table 
limit 10 ;

Scrivi un Commento

Home | Graffiti e Disegni | Educazione | Chi siamo | Blog | Progetti | Contatti
RSS Feed Comments RSS Accedi