【发布时间】:2013-09-12 17:26:34
【问题描述】:
关于我的错误消息,我有以下问题。我尝试先格式化然后插入到dw中使用。
26 proc sql noprint;
27 connect to netezza (user=jfan0001 pwd=Xw9b548s SERVER=bsnet01z database=PDWAPPRP connection=global autocommit=yes);
29 execute ( create temporary table STDY 30 ( SUB_NUM char(13) )) by netezza;
31 execute ( create temporary table ANTIB 32 ( NDC char(11) )) by netezza;
33
34
35
36 insert into dw.STDY (bulkload=YES bl_options='logdir "."')
37 select SUB_NUM from pulllist
38 where flag='study';
ERROR: The open failed because library member DW.STDY.DATA is damaged.
NOTE: Data file SPARC.PULLLIST.DATA is in a format that is native to another host, or the file encoding does not match the session
encoding. Cross Environment Data Access will be used, which might require additional CPU resources and might reduce
performance.
【问题讨论】:
-
请编辑您的问题并为
dw显示LIBNAME语句。 -
1) 将您的用户名/密码/服务器编辑为匿名。 2) Netezza 临时表如何工作?这些是全局的,即任何会话都可用,还是它们在创建它们的会话中是本地的?如果是后者,您的
LIBNAME连接和CONNECT TO NETEZZA连接在技术上是独立的会话,尽管它们来自同一台PC。在 SQL SERVER 中,这将无法正常工作。