Re: autoincrement for year

2005-12-28 Thread SGreen
quot;Salvatore Celsomino" <[EMAIL PROTECTED]> wrote: > > >Hi, > > >it is possible to create a field autoincrement for year. > > >example: > > >1/2005 > > >2/2005 > > >... > > >10500/2005 > > >new yea

Re: autoincrement for year

2005-12-28 Thread Gleb Paharenko
Hello. This should be possible with triggers. See: http://dev.mysql.com/doc/refman/5.0/en/triggers.html "Salvatore Celsomino" <[EMAIL PROTECTED]> wrote: >Hi, >it is possible to create a field autoincrement for year. >example: >1/2005 >2/

Re: autoincrement for year

2005-12-28 Thread Pooly
2005/12/28, Salvatore Celsomino <[EMAIL PROTECTED]>: > Hi, > it is possible to create a field autoincrement for year. > example: > 1/2005 > 2/2005 > ... > 10500/2005 > new year-- > 1/2006 > 2/2006 > > This could be of interes

autoincrement for year

2005-12-28 Thread Salvatore Celsomino
Hi, it is possible to create a field autoincrement for year. example: 1/2005 2/2005 ... 10500/2005 new year-- 1/2006 2/2006