Skip to content

Create a variable with table as out parameter #45

Description

@jgauna

From documentation we have these types:

OCCIINT
OCCISTRING
OCCIDOUBLE
OCCIFLOAT
OCCICURSOR
OCCICLOB
OCCIDATE
OCCITIMESTAMP
OCCINUMBER
OCCIBLOB

But what if we need to use a custom type (which in my case is a table out parameter? is there any way to do this with this connector?

Update:

This is the kind of query I need to run:

declare
p_preguntas webappportalpm.preguntas_table;
begin
schema_ok.pk_portal_n.preguntas_registro(p_credencial => '0005985', p_preguntas => p_preguntas);

for i in 1 .. p_preguntas.count
loop
dbms_output.put_line('PREGUNTA: ' || p_preguntas(i).pregunta);
for j in 1 .. p_preguntas(i).respuestas.count
loop
dbms_output.put_line('RESPUESTA: ' || p_preguntas(i).respuestas(j).respuesta);
dbms_output.put_line('CORRECTA: ' ||p_preguntas(i).respuestas(j).correcta);
end loop;
dbms_output.put_line('----------------------');
end loop;
end;

Where what I need is a way to pass p_preguntas as a JS variable.

Thanks

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions