VBA使用总结(Oracle使用)

本文介绍如何使用Oracle DB Link复制数据,解决数据库显示乱码问题的方法,以及SQL Loader的基本使用技巧,包括加载各种类型的数据文件到Oracle数据库中。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

■通过Oracle DB_Link复制数据

delete from <table_name>@<dbLinkName>

insert into <table_name>@<dbLinkName> select * from <table_user>.<table_name>

 

<table_name>,<dbLinkName>,<table_uer>需替换为具体名称

 

■Oracle数据库显示乱码问题

Database character set

 

SQL> conn / as sysdba;

SQL> shutdown immediate;

SQL> startup mount;

SQL> alter system enable restricted session;

SQL> alter system set job_queue_processes=0;

SQL> alter system set aq_tm_processes=0;

SQL> alter database open;

SQL> alter database character set internal_use AL32UTF8;(ZHS16GBK)

SQL> shutdown immediate;

SQL> startup;

 

http://www.soidc.net/articles/1213781343264/20091019/1215945666391_1.html

 

Client character set (修改注册表)

 

HKEY_LOCAL_MACHINE\SOFTEARE\ORACLE\Key_OraDb10g_home1

NLS_LANG=AMERICAN_AMERICA.AL32UTF8

 

■SQL Loader使用

http://www.orafaq.com/wiki/SQL%2ALoader_FAQ

 

Contents

1 What is SQL*Loader and what is it used for?

2 How does one use the SQL*Loader utility?

3 How does one load MS-Excel data into Oracle?

4 Is there a SQL*Unloader to download data to a flat file?

5 Can one load variable and fixed length data records?

6 Can one skip header records while loading?

7 Can one modify data as the database gets loaded?

8 Can one load data from multiple files/ into multiple tables at once?

9 Can one selectively load only the records that one needs?

10 Can one skip certain columns while loading data?

11 How does one load multi-line records?

12 How does one load records with multi-line fields?

13 How can one get SQL*Loader to COMMIT only at the end of the load file?

14 Can one improve the performance of SQL*Loader?

15 What is the difference between the conventional and direct path loader?

16 How does one use SQL*Loader to load images, sound clips and documents?

17 How does one load EBCDIC data?

 

关于 Oracle 的数据导入导出及 Sql Loader (sqlldr) 的用法

http://www.cnblogs.com/flish/archive/2010/05/31/1748221.html

 

Oracle FAQ

http://www.orafaq.com/wiki/Category:Frequently_Asked_Questions

 


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值