Clive,
Thursday, February 21, 2002, 3:22:47 PM, you wrote:
CA> Apart from timestamp are there any other fields that will
CA> automatically generate data for themselves when a new record is
CA> created ?.
CA> I'm having trouble using timestamp with Macromdia Dreamweaver so
CA> something that just generates a unique number for each record
CA> would be good e.g 1,2,3,4,5,6,7, .......
What about AUTO_INCREMENT field or LAST_INSERT_ID() function?
Look at:
http://www.mysql.com/doc/e/x/example-AUTO_INCREMENT.html
http://www.mysql.com/doc/M/i/Miscellaneous_functions.html
http://www.mysql.com/doc/G/e/Getting_unique_ID.html
CA> Thanks.
CA> Clive Arnold - IT Co-ordinator
--
For technical support contracts, goto https://order.mysql.com/
This email is sponsored by Ensita.net http://www.ensita.net/
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Victoria Reznichenko
/ /|_/ / // /\ \/ /_/ / /__ [EMAIL PROTECTED]
/_/ /_/\_, /___/\___\_\___/ MySQL AB / Ensita.net
<___/ www.mysql.com
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php