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://cxhlcq.com/article/jpheso.html