smoker's recent timeline updates
smoker

smoker

V2EX member #23158, joined on 2012-07-07 19:21:57 +08:00
smoker's recent replies
居然成了。。。。谢谢!!!

奇怪明明刚才自己加''了也不行。。。总之复制你这个好了。。
沉的好快。。。
那我说明下。。

问题出在

CONSTRAINT FOREIGN KEY ('groupid', 'groupname')
REFERENCES group ('id', 'groupname')
ON DELETE RESTRICT
ON UPDATE CASCADE

这段上,其中group是需要链接的表, id是PRIMARY KEY, groupname是UNIQUE KEY
然后……然后就出错了。。。
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2862 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 15ms · UTC 07:50 · PVG 15:50 · LAX 00:50 · JFK 03:50
♥ Do have faith in what you're doing.