代码
http://www.cnblogs.com/gaoweipeng/archive/2009/10/02/1577351.html


先将记录存入文本文件,每行之间用逗号隔开 
新建文件
"fileName.ctl" 内容如下: 
load data 
infile 
'G:\file\fileName.txt' 
append into table table_name 
fields terminated by 
',' 
TRAILING NULLCOLS 
(列1,列2,列3,...) 

然后再cmd中执行 
sqlldr username
/userpwd@sid_数据库IP control=f:\fileName.ctl errors=10000  bindsize=25600000 readsize=20485760 columnarrayrows=300000 

rows
=300000


Reprot Service 的报表经验
1 如果需要更换密码时, 要在报表后台Pager/Pager.aspx页面将管理员角色赋予新增的用户,同时在IIS中的Report Service中的权限选项也必须赋予新增用户
2 如果在找开报表时遇到没有认证的问题,  在“开始”-“SQL 配置”将数据库初始化选项中输入相应的数据库用户名和密码


在报表迁移时,需要增加的两张表 RolePopele, HelpCenter,还有记得在RolePopele中增加一个10000的行

 

相关文章: