zoukankan      html  css  js  c++  java
  • Informatica 错误:Cannot convert from SQL type 93 to C type 4

    经验和积累蛮重要!向大神学习!

    ----------------------------------------------------------------------

    Mapping:

    在source --> source qualifier 之后,我去掉了一列 Event_number,然后导入target表中。
    Informatica 奇葩错误1:Cannot convert from SQL type 93 to C type 4 - 寻走的人 - 自由、随心、求真

     然后,在workflow中

    Informatica 奇葩错误1:Cannot convert from SQL type 93 to C type 4 - 寻走的人 - 自由、随心、求真

     source里面的SQL query 填了一个筛选条件;

    选出Airs_On='CBS' 的所有行(列起初和source保持一致)

    最后跑这个workflow 就报出了一个奇葩的错误!!!!

    ------------------------------------------------------------------------------------------------------------------------

    RR_4035 SQL Error [

    FnName: Fetch -- [Informatica][ODBC SQL Server Wire Protocol driver] Unable to convert column 1. Cannot convert from SQL type 4 to C type 93].

     ----------------------------------------------------------------------------------------------------------------------

    Informatica 奇葩错误1:Cannot convert from SQL type 93 to C type 4 - 寻走的人 - 自由、随心、求真

    查找过parameter 的配置,没错!

    mapping 没错!

    SQL query 没错!

    Connection 没错!

    额,找来buddy,他觉得很奇葩,但是引起了他的兴趣!

    锲而不舍之下,查看query,对比列个数,对比source 表和 target表!终于发现了原因:

    是因为 Source 和 target 的行数不一致,source里面的SQL Query 列 应该和target一致!!!!

    Informatica 奇葩错误1:Cannot convert from SQL type 93 to C type 4 - 寻走的人 - 自由、随心、求真

  • 相关阅读:
    Java中数据类型的分类
    PL/SQL Developer工具
    Oracle数据库SQL语句的分类
    Oracle数据库控制台常用命令
    关于C#中泛型类型参数约束(where T : class)
    C#动态操作DataTable(新增行、列、查询行、列等)
    ADO.NET 全面整理
    区块链入门教程
    排序算法汇总
    常用SQL
  • 原文地址:https://www.cnblogs.com/skyEva/p/5368842.html
Copyright © 2011-2022 走看看