Afficher un message
Vieux 11/02/2008, 23h15   #6
Luuk
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Add an Auto_increment field problem

Bob Bedford schreef:
>> set @id:=0;
>> UNDATE yourfile set id=@id:=@id+1 ORDER BY yourdate

>
> You are a king Luuk !!!!
>
> I spent 3 hours without being able to do it and you did it in 2 lines of
> Mysql !!!!
>
> Thanks a lot !!!!!!
>
>


somone in this group provided the example some days, (or weeks?) ago ;-)


--
Luuk
  Réponse avec citation
 
Page generated in 0,11217 seconds with 9 queries