页面树结构
转至元数据结尾
转至元数据起始

 (此文档仅供参考)

问题

在使用存储过程建立存储过程查询时,可能有如下错误抛出:

错误1:

获取数据SQL错误:null;索引中丢失 IN 或 OUT 参数:: 1
at smartbi.freequery.querydata.store.DBSQLResultStore.executeInDatabase(DBSQLResultStore.java:1494)
at ...(...)
at smartbi.freequery.querydata.store.DBSQLResultStore.runProcedure(DBSQLResultStore.java:2660)
Caused by: java.sql.SQLException: 索引中丢失 IN 或 OUT 参数:: 1

错误2:

解决方案

1.在对应的数据源节点下找到该存储过程,在该存储过程上右键->属性,确认存储过程查询的描述中是否带有“function”标识,因为存储过程的描述中带有“function”标识,当描述中有“function”标识时,产品会当作函数去处理,函数的执行逻辑与存储过程的执行逻辑不一样。


2.将描述中的文字清空即可解决问题。

Viewtracker License Missing

There is a problem with the license of the Viewtracker addon. Please check if you have a valid license.

授权码细节

  • 无标签