SQLLoader with a password that contains @-signs

白昼怎懂夜的黑 提交于 2019-11-29 14:34:31

It will fail using parfile as well. You just need to escape the password with \" as follows: username/\"p@ssword\"@database

not sure why nobody posted this solution before.

Cheers, Bernardo

Have you tried it with a parameter file? I think that would allow you to have whatever kind of password you want. From Oracle's site:

PARFILE = path_ file_name

Tells SQLLoader to read command-line parameter values from a text file. This text file is referred to as a parameter file, and contains keyword/value pairs. Usually, the keyword/value pairs are separated by line breaks. Use of the PARFILE parameter can save a lot of typing if you need to perform the same load several times, because you won't need to retype all the command-line parameters each time. There is no default extension for parameter files.*

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!