Home| Progetto| Web| Faq| Acronimi | ||||
Argomenti Documenti pubblicabili:1120
Scripts:1282 Documenti non pubblicabili:162 Categorie tematiche:68 .Net |_C# |_Visual basic.net |_Asp.net Active Server Pages C++ Cascade Style Sheet JavaScript Mysql Php Xml Java |_Java 2 Micro Edition |_Java server pages |_Java Servlet Oracle |_PLSQL PostgreSQL Unix
PLSQL...
Info:
Exception
Oracle...
Script:
Check if database is running on Rac or Exclusive via plsql dbms_utility
Unix...
Tip:
How remove a file named -r
PLSQL...
Script:
Inizialiazzazione e stampa variabili
PLSQL...
Tip:
Function
Shell scripting...
Script:
Debug shell program
A User Agent, like a web browser, uses HTTP to request a HTML document
Php Funzione mail()
In programming the danger of exploring the small details of coding is that you get obsessed with every line of code you write, thereby greatly reducing productivity.
In general, is not worth obsessing over code. On the other hand you should code with deliberation and intent. Steven Feurstein Oracle Magazine July /August 2004 A User Agent, like a web browser, uses HTTP to request a HTML document
|
PLSQL
Home >PLSQL > Gestione errori
-- Instruzioni uso: -- eseguire da sql*plus -- creare la tabella di riferimento -> create table T1(c1 number; -- impostare -> set serveroutput on; -- compilare ed eseguire la procedura -> EXAMPLE_SELECT_INTO CREATE OR REPLACE PROCEDURE EXAMPLE_SELECT_INTO IS x number := 0; vcontainer t1.c1%TYPE; v_sqlcode varchar2(540); BEGIN -- elimina righe dalla tabella DELETE FROM t1; -- blocco annidato BEGIN -- la tabella è vuota restituisce codice 100 Select c1 INTO vcontainer FROM t1; dbms_output.put_line('La variabile vcontainer è stata valorizzata con: ' || vcontainer); exception when others then v_sqlcode:= SQLCODE ||'->' || SQLERRM; dbms_output.put_line(v_sqlcode); END; WHILE x <= 99 LOOP INSERT INTO t1 (c1,c2) VALUES (x, x*0.10); --INSERT INTO t2 (c1,c2) VALUES (x*x, ((x*x)*0.10)); x := x+1; END LOOP; -- blocco annidato BEGIN -- la tabella è vuota restituisce codice too_many_values Select c1 INTO vcontainer FROM t1; dbms_output.put_line('La variabile vcontainer è stata valorizzata con: ' || vcontainer); exception when others then v_sqlcode:= SQLCODE ||'->' || SQLERRM; dbms_output.put_line(v_sqlcode); END; BEGIN -- la tabella è vuota restituisce codice too_many_values Select c1 INTO vcontainer FROM t1 WHERE c1 = 10; -- una qualsiasi condizione. dbms_output.put_line('La variabile vcontainer è stata valorizzata con: ' || vcontainer); exception when others then v_sqlcode:= SQLCODE ||'->' || SQLERRM; dbms_output.put_line(v_sqlcode); END; COMMIT; END EXAMPLE_SELECT_INTO; / Procedura creata. SQL> exec test_into; 100->ORA-01403: no data found -1422->ORA-01422: exact fetch returns more than requested number of rows La variabile vcontainer è stata valorizzata con: 10 Procedura PL/SQL completata correttamente. Warning: include(ads/text468x15.html): failed to open stream: No such file or directory in D:\inetpub\webs\fishscriptcom\documents\view_document.php on line 131 Warning: include(): Failed opening 'ads/text468x15.html' for inclusion (include_path='.;C:\php\pear') in D:\inetpub\webs\fishscriptcom\documents\view_document.php on line 131 Tutorial ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Script ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Comandi ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Codici errore ![]() ![]() ![]() ![]() ![]() |
Cerca
PLSQL...
Info:
Exception
Anger is creative, depression is useless.
Dyson, Freeman J. Anger is creative, depression is useless.
Dyson, Freeman J.
PLSQL...
Info:
Rapprensentare un apostrofo in sql e pl/sql
PLSQL...
Definizioni:
PL/SQL
Oracle...
Definizioni:
SESSION
Shell scripting...
Script:
Pulire i file provenienti da ambieti dos/ windoes da caratteri sporchi
fishScript.Com is accessible by Mobile access technology
as mobile phones, Palm and Pocket PC .
Nicoleta e Marco Magnani tutorial, examples, courses, esempi, corsi, esercizi, appunti vari Dottoressa Nicoleta Dragu Formatrice Docente Insegnante Mediatrice Culturale Dott. Marco Magnani Universita La Sapienza Roma Master Computer Science Hunter College New York , Data Base Administrator DBA oracle System architect |