Via Cà Matta 2 - Peschiera Borromeo (MI)
+39 02 00704272
info@synaptica.info

Categoria: oracle

Oracle import/export schema via SQL script running a JOB.

tested on Oracle XE 10g to make a simple bk from Oracle you can use dbms library like: create or replace directory dumpdir as ‘/home/[youruserpath]/’ /* ESPORTA DATI E METADATI DI UNO SCHEMA */ declare handle number; begin handle := dbms_datapump.open(‘EXPORT’,’SCHEMA’); dbms_datapump.add_file(handle,'[destination_file_name].dmp’,’DUMPDIR’); DBMS_DATAPUMP.add_file( handle => Handle, filename => ‘.log’, directory => ‘DUMPDIR’, filetype => DBMS_DATAPUMP.KU$_FILE_TYPE_LOG_FILE…
Leggi tutto

Orace Tips – Recursive query

Oracle reset user password, lock/unlock user

http://eoracle11g.blogspot.it/p/alter-user-information.html

Oracle Tip: Configurare TOAD con instantClient

Toad è un buon client per Oracle, e da qualche anno sul sito di Oracle è disponibile una versione molto leggera del client di oracle che si chiama InstantClient. Il pregio di questa versione di driver/clients per Oracle è che non ha una procedura di setup ed è sufficiente decomprimere il pacchetto compresso in una…
Leggi tutto

Oracle Tip – Oracle data files size

Oracle Tip – Set Decimal separator for an oracle session

To set in a single session the decimal separator, for example when you need to cast some string in numbers you can use the next istruction :

in this case the “decimal separator” is the point “.”. if you want the parameter is set inside a procedure or a function you can write like…
Leggi tutto