本文介绍了如何将oracle数据库备份到带空格的路径的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嗨
i希望使用我的代码备份oracle数据库
这是一个命令提示语句
Hii want to backup oracle database using my code
this is an command prompt statement
exp user/pass@xe FILE="D:\folder\xe.dmp"
它的工作,但如果备份路径包含这样的空格
its work, but if the backup path contains a space like this
exp user/pass@xe FILE="D:\new folder\xe.dmp"
此命令将执行备份但是警告,我找不到备份文件
我该怎么做才能解决这个问题?
this command will do the backup but with warnings and i cant find the backup file
what should i do to solve this?
推荐答案
exp user/pass@xe FILE=@"D:\new folder\xe.dmp"
exp user/pass@xe FILE='D:\new folder\xe.dmp'
这篇关于如何将oracle数据库备份到带空格的路径的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!