oracle创建视图报ora-01031

 今天同事需要创建一个视图。但是报了ora-01031错误。我一共赋了connect,resource,select any dictionary3个权限。记得以前9i里connect是包括了create view权限的啊?于是我查了select * from dba_sys_privs where grantee=‘CONNECT’ 查询出来竟然只有create session权限。于是:grant create view to xxx. OK!

你可能感兴趣的:(oracle,session,Dictionary)