zoukankan      html  css  js  c++  java
  • ORACLE sqlprompt设置

    SYS@orcl>define
    DEFINE _DATE           = "17-JUN-19" (CHAR)
    DEFINE _CONNECT_IDENTIFIER = "orcl" (CHAR)
    DEFINE _USER           = "SYS" (CHAR)
    DEFINE _PRIVILEGE      = "AS SYSDBA" (CHAR)
    DEFINE _SQLPLUS_RELEASE = "1102000300" (CHAR)
    DEFINE _EDITOR           = "vi" (CHAR)
    DEFINE _O_VERSION      = "Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options" (CHAR)
    DEFINE _O_RELEASE      = "1102000300" (CHAR)
    SYS@eas_orcl>

     cd /u01/app/oracle/product/11.2.0/db_1/sqlplus/admin

    vi glogin.sql

    set sqlprompt _USER'@'_CONNECT_IDENTIFIER>

    col name for a70

    set lines 300

    col file_name for a50

    col tablepace_name  for a30

  • 相关阅读:
    OC-KVO简介
    注册审核
    应用权限
    关于函数执行的一点知识
    设置权限
    文件操作实例:文件管理器(网页版)
    文件操作
    正则表达式
    全局变量和递归
    案例:简单留言板
  • 原文地址:https://www.cnblogs.com/elontian/p/11039635.html
Copyright © 2011-2022 走看看