Hi,
I need to pass a Table Input Parameter to a SQL Procedure but i'm not able to pass it.
Table TYpe Definition
CREATETYPE"SCHEMA"."TT_TECHOBJECT"ASTABLE (
TECH_OBJECT NVARCHAR(10) );
Below is my procedure definition.
PROCEDURE "P00105715"."ZEAM.procedures::get_breakdown_list_by_techobject" (
IN IP_VALID_DATE NVARCHAR(8),
IN IP_TECH_OBJECT "P00105715"."TT_TECHOBJECT",
OUT OT_BREAKDOWNLIST "P00105715"."TT_BREAKDOWNDUR_TECHOBJECT" )
LANGUAGE SQLSCRIPT
SQL SECURITY INVOKER
DEFAULT SCHEMA "SAPR3"
READS SQL DATA AS
BEGIN
/* Logic written here */
END;
Now i'm trying to call this procedure in SQL Console but it's giving error.
CALL "SCHEMA"."ZEAM.procedures::get_breakdown_list_by_techobject" (
IP_VALID_DATE => '20120309', ('PLACEHOLDER' = ('$$IP_TECH_OBJECT$$ = '4401','1503'')),
OT_BREAKDOWNLIST => ?
);
Can anyone suggest me how to pass Input Table Parameter to a procedure.
Thanks in advance.
Regards,
Ramana.