zoukankan      html  css  js  c++  java
  • SPOOL EXP file

    SET ECHO OFF;
    SET HEADING OFF;
    SET FEEDBACK OFF;
    SET VERIFY OFF;
    SET NEWPAGE NONE;
    SET TERM OFF;
    SET FEED OFF;
    SET LINESIZE 10000;
    --writes trailing spaces when spooling data to a file. The default setting is OFF, which causes SQL*Plus to write each line to the spool file in its entirety, trailing spaces and all.
    SET TRIMSPOOL ON;
    --displays any trailing spaces that may occur at the end of a line. The default setting is ON, which causes SQL*Plus to display only up to the last nonblank character on a line.
    SET TRIMOUT ON;
    SET WRAP OFF;
    --Turns output to the terminal on or off.
    SET TERMOUT OFF;
    --add below for speed up
    SET ROWPREFETCH 2;
    --add below for speed up
    SET ARRAYSIZE 100;
    SET SERVEROUTPUT ON FORMAT WRAPPED;
    DEFINE c_delimiter='¥';
    @'$SCRIPT_SQL/$TBL_NAME.sql'

  • 相关阅读:
    总结
    kafka
    kafka前传 JMS
    currentHashMap
    mapPartitionsWithIndex foreachPartitionAsync foreachPartition
    hbase
    hive
    zookeeper kafka storm
    flume的简单使用
    spring-data-jpa
  • 原文地址:https://www.cnblogs.com/kakaisgood/p/14867365.html
Copyright © 2011-2022 走看看