Data Integration Solution Architect / Data Architect

Looking for challenges. Contact me on Linkedin.

Date in ISO8601 Format in Oracle DB

Below the code example how to get date format as ISO8601. First example is current time zone. Second example is valid if your database is actually in UTC time zone. SELECT to_char(SYSTIMESTAMP, ‘YYYY-MM-DD”T”HH24:MI:SS.FF6TZH:TZM’) AS ISO8601 FROM dual; SELECT to_char(SYSTIMESTAMP, ‘YYYY-MM-DD”T”HH24:MI:SS.FF6″Z”‘) AS ISO8601_UTC_format FROM dual;

Continue Reading

Kaip importuoti egzistuojančias lenteles į Oracle Warehouse Builder

Į Oracle Warehouse Builder 10g importuoti lenteles tenka, kai lentelės sukuriamos per SQL skriptus, o ne per OWB įrankį. OWB11g versijoje labai panašiai vyksta lentelės importas. Daroma prielaida, kad lentelė jau yra duomenų sandėlio schemoje. Atsidarome Design Center. Ant duomenų sandėlio duomenų bazės modulio spaudžiame dešinį ir Import… Atsidariusiame lange spausti Next> Palikti pažymėta tik […]

Continue Reading

Environment variable ORACLE_UNQNAME not defined. Please set ORACLE_UNQNAME to da tabase unique name

emctl status dbconsole command gives error “Environment variable ORACLE_UNQNAME not defined. Please set ORACLE_UNQNAME to database unique name”. How to fix this error? Add environment variable. Go to Start > Control Panel > System On the left press Advanced System Options Go to Environment Variables… Pres New… Enter Variable name “ORACLE_UNQNAME” and Variable value “orcl”. […]

Continue Reading