摘要:
1.创建主键语法 ALTER TABLE table_name ADD CONSTRAINT pk_name PRIMARY KEY(列名); 2.创建外键语法 ALTER TABLE news_info[子表名] ADD CONSTRAINT FK_news_info_news_type[约束名] 阅读全文
摘要:
参考网址: http://blog.tianya.cn/blogger/post_read.asp?BlogID=481221&PostID=29696981http://bbs.csdn.net/topics/330026710http://hi.baidu.com/ah__fu/item/1e3 阅读全文