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://kswsj.cn/article/jpheso.html