开发者

Creating primary key on two columns

I am using SQLite GUI Browser to work with the database. I can't find any button to make primary key on two or mor开发者_开发问答e columns. How to do this?


SQLite does not support adding a constraint.

You have to create a new table, specifying its whole column structure, and import old data into the new table. Then remame the new one, after having dropped the old one.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜