drbigfresh Posted April 18, 2007 Share Posted April 18, 2007 I've been doing a little research, and I've figure out that MySQL has a GUID operation (SELECT UUID(), but I can't fingure out how I can actually get it populate a field in the database.... I have a field in my 'webusers' table called GUID which is varchar(125) and everytime I add a row to the table I would love to also add a GUID in for the row, but I can't figure out how to get MySQL to generate one... Any ideas? Thanks, Scott. Link to comment https://forums.phpfreaks.com/topic/47573-solved-guid-question/ Share on other sites More sharing options...
Wildbug Posted April 18, 2007 Share Posted April 18, 2007 INSERT INTO webusers VALUES(blah,...,blah,UUID(),blah,...,blah); ??? Link to comment https://forums.phpfreaks.com/topic/47573-solved-guid-question/#findComment-232303 Share on other sites More sharing options...
drbigfresh Posted April 18, 2007 Author Share Posted April 18, 2007 Guess it is always the simplest thing you should try first.... Link to comment https://forums.phpfreaks.com/topic/47573-solved-guid-question/#findComment-232311 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.