暂无图片
暂无图片
暂无图片
暂无图片
暂无图片

Oracle SQL * Loader-在19c中503 UNC名称

ASKTOM 2019-11-13
848

问题描述

嗨,汤姆,

下个月,我们将从Oracle 12.1.0.2迁移到Oracle 19,因此我在PC上安装了新的Oracle Client 19c。

使用SQLLDR与 (全部在一行中)

sqlldr用户id = 用户/密码 @ 服务器
控件 = \ \ 服务器 \ 共享 $ \ 文件夹 \ controlfile.ini
data = \ \ 服务器 \ 共享 $ \ 文件夹 \ datafile.txt
坏 = \ \ 服务器 \ 共享 $ \ 文件夹 \ 数据文件。坏
日志 = \ \ 服务器 \ 共享 $ \ 文件夹 \ 数据文件。日志
错误 = 0

我得到以下错误:

SQL * 加载器-503: Fehler beim anh õ ngen der Erweiterung一个日期 \ \ 服务器 \ 共享 $ \ 文件夹 \ 控制文件.ini)
SQL * 加载器-567: 日期名称kann nicht abgeleitet werden
SQL * 加载器-509: Systemfehler: Der Vorgang wurde erfolgreich beendet。


尝试与

sqlldr用户id = 用户/密码 @ 服务器
控件 = \ \ 服务器 \ 共享 \ 文件夹 \ 控制文件。ini
data = \ \ 服务器 \ 共享 \ 文件夹 \ datafile.txt
坏 = \ \ 服务器 \ 共享 \ 文件夹 \ 数据文件。坏
日志 = \ \ 服务器 \ 共享 \ 文件夹 \ 数据文件。日志
错误 = 0

数据导入成功。

如何从以 $ 结尾的文件共享导入数据?

使用Oracle客户端12.1一切正常。


亲切的问候
诺伯特

专家解答

嗯 .... 18c工作正常,但19不工作

C:\>sqlldr userid=scott/tiger@db18_pdb1 control=\\gtx\c$\temp\dept.ctl data=\\gtx\c$\temp\dept.dat log=\\gtx\c$\temp\dept.log  bad=\\gtx\c$\temp\dept.bad errors=0

SQL*Loader: Release 18.0.0.0.0 - Production on Wed Nov 20 13:29:13 2019
Version 18.6.0.0.0

Copyright (c) 1982, 2019, Oracle and/or its affiliates.  All rights reserved.

Path used:      Conventional
Commit point reached - logical record count 3
Commit point reached - logical record count 4

Table DEPT:
  4 Rows successfully loaded.

Check the log file:
  \\gtx\c$\temp\dept.log
for more information about the load.
复制




C:\>sqlldr userid=scott/tiger@db19_pdb1 control=\\gtx\c$\temp\dept.ctl data=\\gtx\c$\temp\dept.dat log=\\gtx\c$\temp\dept.log  bad=\\gtx\c$\temp\dept.bad errors=0

SQL*Loader-503: Error appending extension to file (\\gtx\c$\temp\dept.ctl)
SQL*Loader-567: unable to derive file name
SQL*Loader-509: System error: The operation completed successfully.
复制


一种解决方法是使用真实的共享名称而不是管理员名称,例如

C:\>sqlldr userid=scott/tiger@db19_pdb1 control=\\gtx\c\temp\dept.ctl data=\\gtx\c\temp\dept.dat log=\\gtx\c\temp\dept.log

SQL*Loader: Release 19.0.0.0.0 - Production on Wed Nov 20 13:37:27 2019
Version 19.3.0.0.0

Copyright (c) 1982, 2019, Oracle and/or its affiliates.  All rights reserved.

Path used:      Conventional
Commit point reached - logical record count 3
Commit point reached - logical record count 4

Table DEPT:
  4 Rows successfully loaded.

Check the log file:
  \\gtx\c\temp\dept.log
for more information about the load.
复制


我在内部询问是否有原因,或者是否有错误。
文章转载自ASKTOM,如果涉嫌侵权,请发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。

评论