How can I use a variable in batch script at sqlldr?

六月ゝ 毕业季﹏ 提交于 2019-12-12 01:05:23

问题


I have a variable in batch script and I want to use this variable at sqlloader code for infile. How can I do?


回答1:


I solved my question.

my variable is directory_name in batch script. i define this variable like set directory_name = C:\a\b.csv. And i use this variable in sqlloader control file infile '%directory_name%'.

thanks.



来源:https://stackoverflow.com/questions/20858167/how-can-i-use-a-variable-in-batch-script-at-sqlldr

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