摘要: 1.创建Usercreate user user01 identified by user01,2.赋予连接数据库的权限grant connect to user01;3.把user00的表Emp表权限赋给user01user00登录后,grant select to Emp to user01;4... 阅读全文
posted @ 2014-08-20 17:20 Aeolia 阅读(2383) 评论(0) 推荐(0) 编辑
摘要: 1. 表相关a. 主键:constraint [主键的约束名] primary keyb. 外键:constraint [外键约束名] foreign key( ) references []()c. 唯一性: uniqued.条件约束: constraint ...check...Example:... 阅读全文
posted @ 2014-08-20 16:23 Aeolia 阅读(249) 评论(0) 推荐(0) 编辑