Very good! http://jeffsebring.com/2010/fixing-broken-permalinks-when-moving-wordpress/
a picture from Tirana, the computer point of Ivano
1 |
SELECT * from dba_data_files; |
1 |
select sum(bytes / (1024*1024)) "DB Size in MB" from dba_data_files; |
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 :
1 |
ALTER SESSION SET NLS_NUMERIC_CHARACTERS ='. '; |
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
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:
1 |
SELECT TO_CHAR(sysdate, 'DD-MON-YYYY HH24:MI:SSxFF') from dual; |
For viceversa To format a string to date you can use TO_ function like this:
1 |
SELECT TO_DATE('2003/07/09', 'yyyy/mm/dd') from dual; |
The format mask list: Parameter Explanation YEAR Year, spelled out…
Leggi tutto
Per ottenere le informazioni di versione da una console Oracle o da plsql è sufficiente utilizzare il seguente predicato select * from v$version where banner like ‘Oracle%’;