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

Tag: oracle

Oracle reset user password, lock/unlock user

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

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

Oracle Tip – TO_DATE & TO_CHAR

In Oracle there are two usefull function to format a timestamp to string and vceversa…. To format a date to string you can use TO_CHAR function like this:

For viceversa To format a string to date you can use TO_ function like this:

The format mask list: Parameter Explanation YEAR Year, spelled out…
Leggi tutto

Oracle Tip 13 – shell scripts

Come è noto a tutti in Oracle è presente l’applicazione a riga di comando sqlplus (potentissima), una tip molto interessante è la possibilità di eseguire al volo script presenti su file o stored procedure da una signola linea di codice shell. Come pre-requisito è necessario configurare la home directory di Oracle cone descritto nell’articolo Oracle…
Leggi tutto

Oracle TIPS 12

How to set Oracle Home directory. the script was tested on Oracle 10g and uBuntu 9.04 system….