Quote:
Originally Posted by paulo_crash
Sorry, could you explain better, how to make steamid unique?
|
Code:
ALTER TABLE *gloves ADD UNIQUE (steamid);
Taken from the very first Google search of "sql make column unique"
Change the * from gloves to become the content of your "sm_gloves_table_prefix" cvar.
So e.g. if "sm_gloves_table_prefix" is set to "hamburger_", you would do:
Code:
ALTER TABLE hamburger_gloves ADD UNIQUE (steamid);
__________________