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
Oracle...
Info:
Oggetto directory
Oracle...
Script:
dbms_output.put_line
Unix...
Tip:
Rimuovere un file in Unix / Delete a file
PLSQL...
Script:
Esempio funzione MOD
Oracle...
Tip:
Lunghezza massima nome di uno schema nel database Oracle
Oracle...
Faq:
Which chars in table and column names?
Shell scripting...
Script:
Ciclo sul contenuto directory
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
|
Oracle
Home >Oracle > Ricavare la partizione hash contenente una riga
Il rowid è l'identificativo univoco della riga. Il package dbms_rowid restituisce l'object_id dell'oggetto che contiene la riga. Attraverso object_id oltre la tabella, si può ricavare l'eventuale partizione ,utile se per esempio il criterio di partizionamento è per HASH, ovvero non è stabilita una regola di partizionamento rispetto a intervalli di tempo, di numero, etc. Nel prossimo esempio, data una riga di una tabella partizionata per hash, si dimostra come da un rowid, tramite dbms_rowid viene individuata tabella e partizione contenente la riga. SQL> create table tab_partizionata(n number) partition by hash(n) ( partition p1, partition p2, partition p3, partition p4 ); Table created. SQL> insert into tab_partizionata select object_id from user_objects; 23287 rows created. SQL> commit; Commit complete. Adesso ricaviamo un rowid qualsiasi. SQL> select n , rowid from tab_partizionata where rownum < 11; N ROWID ---------- ------------------ 13 AAAfQ/AABAAA5hKAAA (....) Il metodo rowid_object di dbms_rowid restituisce l' object_id della tabella. SQL> select dbms_rowid.rowid_object('AAAfQ/AABAAA5hKAAH') from dual; 128064 Atraverso object_id si indentifica il nome e la partizione della tabella (subobject_name) della tabella. SQL> select object_name , subobject_name from user_objects where object_id = 128064; TAB_PARTIZIONATA P2 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
Oracle...
Info:
Oggetto directory
Anger is creative, depression is useless.
Dyson, Freeman J. Anger is creative, depression is useless.
Dyson, Freeman J.
Oracle...
Info:
Which process register the listener services ?
Oracle...
Citazioni:
Designing an efficient Schema ...
Oracle...
Definizioni:
Area PGA
Oracle...
Definizioni:
SCN
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 |