RE: Executing a package
Martin Gainty <[email protected]>
| Newsgroups | gmane.comp.db.oracle.toad.free |
|---|---|
| Message-ID | <[email protected]> |
Good Morning Kent best to use a PL-SQL block to populate your variables beforehand and then call the Function (which references the package body) e.g.
insert_statement_out VARCHAR2(32767) := NULL;
max_total_rows NUMBER(4) := 30;
table_ctr NUMBER(4) := 28;
BEGIN
SELECT InsertStatement('CH_MAIN', table_ctr, max_total_rows) INTO insert_statement_out FROM DUAL;
DBMS_OUTPUT.PUT_LINE('TestHarness insert_statement_out = '||insert_statement_out);
END;
/ HTH
Martin
______________________________________________
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni.
To: [email protected]
From: [email protected]
Date: Thu, 28 Jun 2012 13:15:23 +0000
Subject: [toad] Executing a package
I have created a package that I need to execute. Every time I try to execute said package a set parameters window comes up, I have to execute each procedure individually. What's worse is that the window closes after a procedure is executed. What happened to the ability to just execute an entire package at once?
Regards,
Kent Dorfman