File: insertar.hdbprocedure
PROCEDURE "NEO_ECP14LTFQ7RY7RX3084W0WT10"."p1009230trial.server.CDS_test.Productos::insertar" (IN id VARCHAR(40), name VARCHAR(40) )
LANGUAGE SQLSCRIPT
SQL SECURITY INVOKER as
--DEFAULT SCHEMA <default_schema_name>
--READS SQL DATA AS
BEGIN
/*****************************
Write your procedure logic
*****************************/
insert into "NEO_ECP14LTFQ7RY7RX3084W0WT10"."p1009230trial.server.CDS_test.Productos::mytable" values (id, name);
END;
File: samples_procedure.xsodata
service {
"NEO_ECP14LTFQ7RY7RX3084W0WT10"."p1009230trial.server.CDS_test.Productos::mytable" as "Samples"
create using "p1009230trial.server.CDS_test.Productos::insertar";
}
What can be the problem?
Error:
08:02:56 >> File p1009230trial/server/CDS_test/Productos/samples_procedure.xsodata saved successfully.
08:02:56 >> Error while activating:
Invalid parameter type in signature of procedure "p1009230trial.server.CDS_test.Productos::insertar". Only table types are allowed.