zoukankan      html  css  js  c++  java
  • sql

    1、32位pl/sql developer连接64位oracle:

      <1>我的收藏http://www.cnblogs.com/tianguook/p/3546679.html

      <2>具体方法:
    首先 用system用户登陆。
    导入scott.sql脚本(可以在oracle的安装目录的查找),例如我本机的路径,导入就可以写成:
    @D:appAdministratorproduct11.2.0dbhome_1RDBMSADMINscott.sql

    其次 输入:
    alter user scott identified by tiger; 修改scott密码
    alter user scott account unlock; 解锁用户
    conn scott/tiger (以scott模式登录)
    show user (看看当前用户是否是scott)
    select * from emp;
    那么我们就可以查看到:
    SQL> select * from emp;
    EMPNO ENAME JOB MGR HIREDATE SAL COMM DEPTNO
    ---------- ---------- --------- ---------- -------------- ---------- ---------- ----------
    7369 SMITH CLERK 7902 17-12月-80 800 20
    7499 ALLEN SALESMAN 7698 20-2月 -81 1600 300 30
    7521 WARD SALESMAN 7698 22-2月 -81 1250 500 30
    7566 JONES MANAGER 7839 02-4月 -81 2975 20
    7654 MARTIN SALESMAN 7698 28-9月 -81 1250 1400 30
    7698 BLAKE MANAGER 7839 01-5月 -81 2850 30
    7782 CLARK MANAGER 7839 09-6月 -81 2450 10
    7839 KING PRESIDENT 17-11月-81 5000 10
    7844 TURNER SALESMAN 7698 08-9月 -81 1500 0 30
    7900 JAMES CLERK 7698 03-12月-81 950 30
    7902 FORD ANALYST 7566 03-12月-81 3000 20
    7934 MILLER CLERK 7782 23-1月 -82 1300 10
    已选择12行。

  • 相关阅读:
    数据结构习题
    POJ 2965 The Pilots Brothers' refrigerator
    POJ 1753 Flip Game
    HDU 1172 猜数字
    假币问题
    HDU 1425 sort
    Java基础知识
    P1650 田忌赛马
    SQL注入之Sqli-labs系列第十九关(基于头部的Referer POST报错注入)
    SQL注入之Sqli-labs系列第十八关(基于错误的用户代理,头部POST注入)
  • 原文地址:https://www.cnblogs.com/zhangzs000/p/4861850.html
Copyright © 2011-2022 走看看