zoukankan      html  css  js  c++  java
  • oracle创建

    @echo off
    echo  Oracle 数据库,请稍等......
    exp gz/123@192.168.141.12/ORCL file=D:/backup/bak_%date:~0,4%%date:~5,2%%date:~8,2%.dmp log=D:/backup/bak_%date:~0,4%%date:~5,2%%date:~8,2%.log
    echo 任务完成!

    CREATE TEMPORARY TABLESPACE gz_temp
    TEMPFILE 'E:appAdministratororadataorclgz_temp.dbf'
    SIZE 32M
    AUTOEXTEND ON
    NEXT 32M MAXSIZE 2048M
    EXTENT MANAGEMENT LOCAL;

    创建表空间
    create tablespace gz
    logging
    datafile 'E:appAdministratororadataorclgz.dbf'
    size 7167M
    autoextend on
    next 3072M maxsize 32767M
    autoallocate
    extent management local
    segment space management auto;


    create user gz identified by "123"
    default tablespace gz
    temporary tablespace tongtai_temp profile DEFAULT;


    grant connect,resource,dba to user;

    imp gz/GZ123@orcl fromuser=gz touser=gz file=D:20190311.dmp ignore = y

    imp yjt/123@192.168.141.12:1521/orcl file=d:20190311 full=y

    oracle数据库cmd导出指令:
    exp username/password@ip/orcl file=f:filename.dmp


    oracle数据库cmd导入指令:

    imp username/password@ip/orcl file=f:filename.dmp full=y


    //查询字符集SQL
    select userenv('language') from dual;

    https://zhidao.baidu.com/question/1989688239134896747.html
    修改字符编码
    查询字符编码
    select userenv('language') from dual;

  • 相关阅读:
    PHP数组的几个操作,求并集,交集,差集,数组与字符串的相互转换及数组去重
    文件系统添加链接
    HTML中插入视频
    magento模块的建立
    数组函数
    字符串函数
    阿里服务器用户的添加
    ViewChild
    GitHub 图片加载不出来怎么办
    常用正则表达式
  • 原文地址:https://www.cnblogs.com/jacksonxiao/p/11275314.html
Copyright © 2011-2022 走看看