【匯入匯出】執行匯入,匯出時如何以as sysdba 身份連線。
1. Command line.命令列形式
C:\Users\aaaa>exp 'system/yang as sysdba' tables=scott.emp file=emp.dmp
Export: Release 11.1.0.6.0 - Production on 星期日 2月 20 22:26:41 2011
Copyright (c) 1982, 2007, Oracle. All rights reserved.
連線到: Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
已匯出 ZHS16GBK 字符集和 AL16UTF16 NCHAR 字符集
即將匯出指定的表透過常規路徑...
當前的使用者已更改為 SCOTT
. . 正在匯出表 EMP匯出了 14 行
成功終止匯出, 沒有出現警告。
C:\Users\aaaa>exp '/ as sysdba' tables=scott.emp file=emp.dmp
Export: Release 11.1.0.6.0 - Production on 星期日 2月 20 22:27:01 2011
連線到: Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
已匯出 ZHS16GBK 字符集和 AL16UTF16 NCHAR 字符集
即將匯出指定的表透過常規路徑...
當前的使用者已更改為 SCOTT
. . 正在匯出表 EMP匯出了 14 行
成功終止匯出, 沒有出現警告。
2. 互動模式
C:\Users\aaaa>exp tables=scott.emp
使用者名稱: system
口令:
連線到: Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
已匯出 ZHS16GBK 字符集和 AL16UTF16 NCHAR 字符集
即將匯出指定的表透過常規路徑...
當前的使用者已更改為 SCOTT
. . 正在匯出表 EMP匯出了 14 行
成功終止匯出, 沒有出現警告。
3 .引數檔案形式
d:\emppar.txt
USERID='/as sysdba' ----此用法錯誤
TABLES=scott.emp
FILE=emp.dmp
C:\Users\aaaa>exp parfile=d:\emppar.txt
Export: Release 11.1.0.6.0 - Production on 星期日 2月 20 22:30:21 2011
Copyright (c) 1982, 2007, Oracle. All rights reserved.
EXP-00004: 使用者名稱或口令無效
使用者名稱: system
口令:
連線到: Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
已匯出 ZHS16GBK 字符集和 AL16UTF16 NCHAR 字符集
即將匯出指定的表透過常規路徑...
當前的使用者已更改為 SCOTT
. . 正在匯出表 EMP匯出了 14 行
成功終止匯出, 沒有出現警告。
d:\emppar.txt 內容如下:
USERID='system/yang as sysdba'
TABLES=scott.emp
FILE=emp.dmp
C:\Users\aaaa>exp parfile=d:\emppar.txt
Export: Release 11.1.0.6.0 - Production on 星期日 2月 20 22:31:08 2011
連線到: Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
已匯出 ZHS16GBK 字符集和 AL16UTF16 NCHAR 字符集
即將匯出指定的表透過常規路徑...
當前的使用者已更改為 SCOTT
. . 正在匯出表 EMP匯出了 14 行
成功終止匯出, 沒有出現警告。
C:\Users\aaaa>exp 'system/yang as sysdba' tables=scott.emp file=emp.dmp
Export: Release 11.1.0.6.0 - Production on 星期日 2月 20 22:26:41 2011
Copyright (c) 1982, 2007, Oracle. All rights reserved.
連線到: Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
已匯出 ZHS16GBK 字符集和 AL16UTF16 NCHAR 字符集
即將匯出指定的表透過常規路徑...
當前的使用者已更改為 SCOTT
. . 正在匯出表 EMP匯出了 14 行
成功終止匯出, 沒有出現警告。
C:\Users\aaaa>exp '/ as sysdba' tables=scott.emp file=emp.dmp
Export: Release 11.1.0.6.0 - Production on 星期日 2月 20 22:27:01 2011
連線到: Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
已匯出 ZHS16GBK 字符集和 AL16UTF16 NCHAR 字符集
即將匯出指定的表透過常規路徑...
當前的使用者已更改為 SCOTT
. . 正在匯出表 EMP匯出了 14 行
成功終止匯出, 沒有出現警告。
2. 互動模式
C:\Users\aaaa>exp tables=scott.emp
使用者名稱: system
口令:
連線到: Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
已匯出 ZHS16GBK 字符集和 AL16UTF16 NCHAR 字符集
即將匯出指定的表透過常規路徑...
當前的使用者已更改為 SCOTT
. . 正在匯出表 EMP匯出了 14 行
成功終止匯出, 沒有出現警告。
3 .引數檔案形式
d:\emppar.txt
USERID='/as sysdba' ----此用法錯誤
TABLES=scott.emp
FILE=emp.dmp
C:\Users\aaaa>exp parfile=d:\emppar.txt
Export: Release 11.1.0.6.0 - Production on 星期日 2月 20 22:30:21 2011
Copyright (c) 1982, 2007, Oracle. All rights reserved.
EXP-00004: 使用者名稱或口令無效
使用者名稱: system
口令:
連線到: Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
已匯出 ZHS16GBK 字符集和 AL16UTF16 NCHAR 字符集
即將匯出指定的表透過常規路徑...
當前的使用者已更改為 SCOTT
. . 正在匯出表 EMP匯出了 14 行
成功終止匯出, 沒有出現警告。
d:\emppar.txt 內容如下:
USERID='system/yang as sysdba'
TABLES=scott.emp
FILE=emp.dmp
C:\Users\aaaa>exp parfile=d:\emppar.txt
Export: Release 11.1.0.6.0 - Production on 星期日 2月 20 22:31:08 2011
連線到: Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
已匯出 ZHS16GBK 字符集和 AL16UTF16 NCHAR 字符集
即將匯出指定的表透過常規路徑...
當前的使用者已更改為 SCOTT
. . 正在匯出表 EMP匯出了 14 行
成功終止匯出, 沒有出現警告。
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/22664653/viewspace-687590/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 【匯出匯入】匯出匯入 大物件物件
- mysql多執行緒匯出匯入MySql執行緒
- 【匯入匯出】sqlldr 匯入案例SQL
- 【匯出匯入】% 在匯入匯出中的應用。
- Activity 流程模型匯入匯出-activity流程模型匯入匯出模型
- docker匯入&匯出離線映象Docker
- Mysql匯入&匯出MySql
- Mysql匯入匯出MySql
- doris匯入匯出
- mysqldumper 多執行緒 匯出匯入資料MySql執行緒
- 【匯入匯出】Oracle 常用匯入匯出工具集錦Oracle
- vue excel匯入匯出VueExcel
- navlicat 匯入匯出SQLSQL
- mysql 命令匯入匯出MySql
- BCP匯入匯出MsSqlSQL
- mysql匯入匯出慢MySql
- mysql 匯入、匯出命令MySql
- Oracle增量匯入匯出Oracle
- sqoop定時增量匯入匯出OOP
- Oracle資料庫匯入匯出。imp匯入命令和exp匯出命令Oracle資料庫
- Angular Excel 匯入與匯出AngularExcel
- 資料泵匯出匯入
- Oracle 資料匯入匯出Oracle
- mysql資料匯入匯出MySql
- mysql資料匯出匯入MySql
- oracle資料匯入匯出Oracle
- db2匯入匯出DB2
- oracle排除表匯入匯出Oracle
- 【匯入匯出】sqlldr 匯入含有內嵌換行符的資料SQL
- Vue框架下實現匯入匯出Excel、匯出PDFVue框架Excel
- ASP.NET 開源匯入匯出庫Magicodes.IE 完成Csv匯入匯出ASP.NET
- AWR跨庫匯出與匯入
- kxcel, 方便匯入和匯出 ExcelExcel
- (十一)Electron 匯入匯出檔案
- vue + element + 匯入、匯出excel表格VueExcel
- sqoop資料匯入匯出OOP
- SQLServer匯出匯入資料到MySQLServerMySql
- 資料匯入匯出EXP/IMP