上一页 1 ··· 4 5 6 7 8
摘要: 为已经添加好的数据表添加外键: 语法:alter table 表名 add constraint FK_ID foreign key(你的外键字段名) REFERENCES 外表表名(对应的表的主键字段名); 例: alter table tb_active add constraint FK_ID 阅读全文
posted @ 2016-04-21 12:39 咸鱼也疯狂 阅读(100843) 评论(0) 推荐(2) 编辑
摘要: MySQL有两种常用的引擎类型:MyISAM和InnoDB。目前只有InnoDB引擎类型支持外键约束。InnoDB中外键约束定义的语法如下: [CONSTRAINT [symbol]] FOREIGN KEY [index_name] (index_col_name, ...) REFERENCES 阅读全文
posted @ 2016-04-21 12:25 咸鱼也疯狂 阅读(2561) 评论(0) 推荐(0) 编辑
摘要: struts2中的constant配置详解 本文主要讲解一下struts2中的constant常量配置,内容主要来自于互联网的整理。<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE struts PUBLIC "-//Apache Software Fo 阅读全文
posted @ 2016-04-21 00:53 咸鱼也疯狂 阅读(372) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8
Fork me on GitHub