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:
TO_CHAR, double pipe (||)
Unix...
Tip:
Eseguire più comandi in una sola linea
PLSQL...
Script:
Unlock and gather statistics for particular schemas
PLSQL...
Tip:
Function
Shell scripting...
Script:
Shell script automating oracle data pump schema export
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 > Procedura conteggio righe tutte le tabelle di uno schema
Oracle offre diversi strumenti per effettuare statistiche sulle tabelle. A volte però può essere utile per gli ambienti di sviluppo anche uno script pl/sql on the fly che registri il numero di ogni tabella di uno schema in una struttura ad hoc, magari per particolari esigenze di reportistica. create or replace procedure PRO_SCHEMA_ROWCOUNT(vSchema in varchar2) is -- la procedura inserisce i risultati nella tabella rowcount_table --CREATE TABLE rowcount_table (table_name varchar2(16),rowcount# number,schema# varchar2(16),date_insert date); cursor c1 is SELECT table_name FROM all_tables WHERE owner = vSchema ORDER BY table_name; nr number; begin FOR r1 IN c1 LOOP EXECUTE IMMEDIATE 'SELECT COUNT(*) FROM ' || r1.table_name INTO nr; INSERT INTO rowcount_table VALUES (r1.table_name, nr, vSchema, sysdate); END LOOP; end PRO_SCHEMA_ROWCOUNT;
SQL>exec PRO_SCHEMA_ROWCOUNT('RAXXO');
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:
Exception
PLSQL...
Definizioni:
PL/SQL
Oracle...
Definizioni:
Area PGA
Shell scripting...
Script:
Shell script automating oracle data pump schema export
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 |