This question shows research effort; it is useful and clear
0
This question does not show any research effort; it is unclear or not useful
Bookmark this question.
Show activity on this post.
私の userprivilage テーブルには、userId(自動インクリメント)、userName、password、および status 列があります。userName 列に一意の制約を提供したい。そのため、テーブルに値を挿入すると、userName 列の値が重複しないようにする必要があります。どうすればできますか?C# 2010 Express Windows アプリケーションと mysql 5.1 を使用しています。