㈠建立角色(不验证)
如果角色是公用的角色,可以采用不验证的方式建立角色.
语法:create role 角色名 not identified;
案例:create role mydongshao1 not identified; 没有任何权限
㈡建立角色(数据库验证)
语法:create role 角色名 identified by 口令
案例:create role 角色名 identified by dongshao
㈠建立角色(不验证)
如果角色是公用的角色,可以采用不验证的方式建立角色.
语法:create role 角色名 not identified;
案例:create role mydongshao1 not identified; 没有任何权限
㈡建立角色(数据库验证)
语法:create role 角色名 identified by 口令
案例:create role 角色名 identified by dongshao