In the last episode (Oct 04), Arthur Fuller said: > Does MySQL support GUIDs? Is there any code around that is equivalent > to the built-in M$-SQL function NewID(), which returns a GUID?
Providing GUIDs is usually the job of the OS, and there really isn't much of a standard for it yet. One solution would be to write a UDF that either calls a native uuidgen() function, or shells out and runs uuidgen/makeuuid, and returns the result. -- Dan Nelson [EMAIL PROTECTED] --------------------------------------------------------------------- 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