Link to home
Start Free TrialLog in
Avatar of newbieal
newbiealFlag for United States of America

asked on

MySQL 5.0: create GUID column

How can I create a column in a table that represents the PK and is a unique identifier, similar to GUID in SQL Server?
ASKER CERTIFIED SOLUTION
Avatar of gregfortune
gregfortune

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of newbieal

ASKER

Yes, but this does not assign a guid value, or am I mistaken?  your example will just increment by 1 a regular integer.  I need a unique identifier assigned for each PK in the row/table.  Like the GUID in SQL Server.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of gregfortune
gregfortune

Gah... For each *row* in the table.