摘要:
1.创建主键语法 ALTER TABLE table_name ADD CONSTRAINT pk_name PRIMARY KEY(列名); 2.创建外键语法 ALTER TABLE news_info[子表名] ADD CONSTRAINT FK_news_info_news_type[约束名] 阅读全文
posted @ 2017-09-25 19:26
panda521
阅读(4491)
评论(0)
推荐(0)
摘要:
参考网址: http://blog.tianya.cn/blogger/post_read.asp?BlogID=481221&PostID=29696981http://bbs.csdn.net/topics/330026710http://hi.baidu.com/ah__fu/item/1e3 阅读全文
posted @ 2017-09-25 10:51
panda521
阅读(261)
评论(0)
推荐(0)
浙公网安备 33010602011771号