MySQL check for duplicate records
#3

Well the thing is that there is no item ID. I use text values, the item name. It's an include and all usable item names must be specified before using them.

I guess I could create a key from username + itemname, but I read a StackOverflow post that discourages usage of varchar keys.

EDIT: I just started loading the unique column I already had... It's still better then using varchar as a key I guess.
Reply


Messages In This Thread
MySQL check for duplicate records - by dusk - 15.05.2014, 12:46
Re: MySQL check for duplicate records - by Vince - 15.05.2014, 12:59
Re: MySQL check for duplicate records - by dusk - 15.05.2014, 13:06

Forum Jump:


Users browsing this thread: 2 Guest(s)