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:
Check if database is running on Rac or Exclusive via plsql dbms_utility
Unix...
Tip:
Eseguire pił comandi in una sola linea
PLSQL...
Script:
Esempio funzione
PLSQL...
Tip:
Function
Shell scripting...
Script:
How to get size or other file info in a shell script
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 > FOR recordset IN (select statment) LOOP
The plsql construct
FOR recordset IN (select statment) LOOP CODE ... END LOOP; is very handy, not only for developing application but also it helps building dba scripts and tools quickly. This construct does not require cursor operation such declaring, opening and closing or defining the recordset as a matter of fact cursor and recordset are established in the cycle opening line. For example, this is just an example change users's password, (schema name + current month).
set timing on
set serveroutput on begin for r in (select username from dba_users where username like 'USR%' order by username) loop dbms_output.put_line('Reset password for schema '||r.username); execute immediate ' ALTER USER ' || r.username || ' identified by ' || r.username || '_' || to_char(sysdate,'MONTH') ; end loop; end; / Output:
Reset password for schema USR01
Reset password for schema USR02 Reset password for schema USR09 ... Antoher example of plsql dba 's scripts written on the fly using compact plsql construct is to gather user statistics for rilevant schemas. 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:
Schema and user
Shell scripting...
Script:
Cercare e visualizzare file per dimensione
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 |