Re: Auto increament

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Can any of you guide me how to do auto increament in a field?
I think there is one datatype for auto increament.
But I dont know how to do it ?

I'd start by reading the manual and documentation for the database application being used. But, generally, auto incremented fields are primary keys, unsigned, not null integers. For MySQL, in particular, you define a field as auto increment by using AUTO_INCREMENT. Again, you can see the manual for more.


Larry

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux