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:
Ricavare lista oggetti modificati in un dato intervallo di tempo
Oracle...
Script:
Esempio schema per analisi sui processi e parametri del db
Unix...
Tip:
Rimuovere un file in Unix / Delete a file
PLSQL...
Script:
Leggere un file di testo
Oracle...
Tip:
Determinare la versione di Oracle corrente
Oracle...
Faq:
Come individuare a quale tablespace appartiene una tabella?
Shell scripting...
Script:
Executing arithmetic operation in shell program
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.
|
Oracle
Home >Oracle > extracting ddl and source code from oracle database object
There are many ways to generate database objects ddl and source code. For example, from Oracle 10g and more I use datapump (parameter CONTENT=METADATA_ONLY) to extract all ddl of a database or schema. Program such as SqlDeveloper or Toad allow to extract object ddl easily with few mouse click. When you are sort of old school, and you still like sqlplus DBMS_METADATA.GET_DDL is the right function to get you ddl on screen or on file. -- defining output, remember DBMS_METADATA.GET_DDL return a CLOB that's why you need to set long SQL> set pagesize 0 SQL>set long 90000 -- I want on file just the ddl code, no feedback SQL>set feedback off SQL>set echo off -- I want the ddl code on a file so I spool SQL>spool ddl_source.sql -- extracting ddl of a table, parameters: object_type, object_name, owner SQL>select DBMS_METADATA.GET_DDL('TABLE','MYTABLE','SYSTEM') from dual; CREATE TABLE "SYSTEM"."MYTABLE" ( "N" NUMBER ) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "SYSTEM" SQL> spool off -- extracting ddl of a procedure SQL> select DBMS_METADATA.GET_DDL('PROCEDURE','MYPROC','SYSTEM') from dual; CREATE OR REPLACE PROCEDURE "SYSTEM"."MYPROC" as begin dbms_output.put_line('HELLO THERE'); end; 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:
Se non viene definite tablespace permanente e temporanea
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
Oracle...
Info:
Test connessione come sysdba senza password
Oracle...
Citazioni:
Designing an efficient Schema ...
Oracle...
Definizioni:
Schema and user
Oracle...
Definizioni:
SCN
Shell scripting...
Script:
Debug shell program
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 |