【学习】SQL基础-001-前期准备
1.环境参数设置
@?/sqlplus/admin/glogin.sql
export ORACLE_SID=XXX
2.启动
sqlplus / as sysdba
SQL> startup
SQL> select status from v$instance;
3.(可选)重建scott方案
@?/rdbms/admin/utlsampl.sql
4.解锁scott账号
使用sys用户解锁
sqlplus / as sysdba
SQL> alter user scott identified by tiger unlock;
网站标题:【学习】SQL基础-001-前期准备
转载来源:http://lswzjz.com/article/jpheso.html
@?/sqlplus/admin/glogin.sql
export ORACLE_SID=XXX
2.启动
sqlplus / as sysdba
SQL> startup
SQL> select status from v$instance;
3.(可选)重建scott方案
@?/rdbms/admin/utlsampl.sql
4.解锁scott账号
使用sys用户解锁
sqlplus / as sysdba
SQL> alter user scott identified by tiger unlock;
网站标题:【学习】SQL基础-001-前期准备
转载来源:http://lswzjz.com/article/jpheso.html