MySQL Lists: mysql: Re: GUID storage:

UNHEX(REPLACE(uuid, '-', ''))

will convert uuid to 16-byte string
There's no easy way to do a reverse conversion yet. HEX() will do, but
you'll lose dashes.

Note to self.

Edit: Possibly better.

Labels: ,