SQL>select*from v$version;
BANNER
----------------------------------------------------------------Oracle Database 10g Enterprise Edition Release 10.2.0.1.0- Prod
PL/SQL Release 10.2.0.1.0- Production
CORE 10.2.0.1.0 Production
TNS for32-bit Windows: Version 10.2.0.1.0- Production
NLSRTL Version 10.2.0.1.0- Production
SQL> show parameter query
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------query_rewrite_enabled string TRUE
query_rewrite_integrity string TRUSTED
SQL> conn /as sysdba
已连接。
SQL>createuser ning identified by ning;
用户已创建。
SQL>grant dba to ning;
授权成功。
SQL> conn ning/ning
已连接。