Enforce unique values across two tables

后端 未结 7 1196
慢半拍i
慢半拍i 2021-01-01 20:48

Is it possible to enforce uniqueness across two tables in MySQL?

I have two tables, both describing users. The users in these tables were for two different systems p

相关标签:
7条回答
  • 2021-01-01 21:07

    Would changing the type of the ID column be affordable? Then you could go for GUIDs which would be unique across as many tables as you want.

    0 讨论(0)
提交回复
热议问题