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:
Rapprensentare un apostrofo in sql e pl/sql
Oracle...
Script:
Quick plsql script for dba maintenance tasks
Unix...
Tip:
Eseguire più comandi in una sola linea
PLSQL...
Script:
dbms_lob updating blob type
PLSQL...
Tip:
Function
Shell scripting...
Script:
Determinare il numero di elementi di un array
Basically, a web session can be defined as the timeframe in which a visitor navigates your web site.
Php Funzione mail()
XPath is a language for addressing parts of an XML document.
It is designed to be used by XSLT and XPointer.
Basically, a web session can be defined as the timeframe in which a visitor navigates your web site.
|
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
A good scientist is a person with original ideas.
A good engineer is a person who makes a design that works with as few original ideas as possible. There are no prima donnas in engineering. Freeman Dyson A good scientist is a person with original ideas.
A good engineer is a person who makes a design that works with as few original ideas as possible. There are no prima donnas in engineering. Freeman Dyson
PLSQL...
Info:
Exception
PLSQL...
Definizioni:
PL/SQL
Oracle...
Definizioni:
SESSION
Shell scripting...
Script:
Passing parameters to shell script
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 |