Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
多くのフィールドを含むテーブルがあります。HeidiSQLで「id」と「userId」を複合主キーとして設定したいのですが、このソフトで可能でしょうか?
HeidiSQL では、通常、関連するテーブルをクリックして、テーブル エディターに入ります。次に、両方の列名を選択し、右クリックして をポイントしCreate new index、 をクリックしPrimaryます。上部のIndexesタブに新しいキーが表示されます。ここで、フィールドを追加したり、再度削除したりできます。
Create new index
Primary
Indexes