In MySQL, is it possible to have a UNIQUE constraint on a row? -


appears mysql's unique constraint on columns column basis, i'm looking way make sure row unique on row row basis; guessing answer create hash concatenating columns per row want unique unique on column storing hash row. also, rows unless create control unique, since id row surrogate_key; meaning it's integer sequential growing +1 of id of last row's integer.

you can create multiple-column unique index.


Comments

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -