From: Date: May 13 2004 12:07am Subject: Re: GUID storage List-Archive: http://lists.mysql.com/mysql/165314 Message-Id: <20040512150754.A86220@yahoo-inc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Wed, May 12, 2004 at 02:50:55PM -0700, Larry Lowry wrote: > Well I'm trying to move to MySQL from the MS SQL Server > world. Most data elements are easy except for the uniqueidentifier. > > In the MySQL world what is the preferred/best way to store a > uniqueidentifier? The easiest would just be a char(36). If you have unique ids that are 36 characters, then use a char(36). That seems like the obvious thing to do. Jeremy -- Jeremy D. Zawodny | Perl, Web, MySQL, Linux Magazine, Yahoo! | http://jeremy.zawodny.com/ [book] High Performance MySQL -- http://highperformancemysql.com/