SYNTAX_ERROR: line 26:7: Unexpected parameters (varchar) for function substr

0

SELECT T1."PDC_CODE" "c1", substr(cast(T2."RECEIVING_DATE" as varchar)) "c2", sum(T2."QTY_RECEIVED") "c3", T3."SUPPLIER_SOURCE" "c4"

SYNTAX_ERROR: line 26:7: Unexpected parameters (varchar) for function substr. Expected: substr(varchar(x), bigint, bigint) , substr(varchar(x), bigint) , substr(char(x), bigint) , substr(char(x), bigint, bigint) , substr(varbinary, bigint, bigint) , substr(varbinary, bigint)

질문됨 2년 전353회 조회
1개 답변
0

Hello,

A parameter parameter's value is not compatible with the corresponding type. For example: {% if parameters.change_value._parameter_value == "'AA'" %}. Review the parameter type to ensure that the value evaluates correctly (type: string versus type: unquoted).

AWS
답변함 일 년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인