June 2, 2008
To check if numeric and non-numeric values, the following syntax can be use. Syntax PLAIN TEXT CODE: select DECODE( TRANSLATE(<value here>,'0123456789',' '), NULL, 'Numeric','Character') from dual; Example PLAIN TEXT CODE: select DECODE( TRANSLATE('12345Z','0123456789',' '), NULL, 'Numeric','Character') from dual; The example above will return 'Character' because the value has non-numeric characters.
Read the full article →
February 21, 2008
Yesterday, I and my team mates conducted a brownbag session about a functionality that allows loading of CSV files to a database table. The general overview of this functionality is to call a Unix shell script that invokes SQL Loader to load the CSV to the table. The first stage is uploading the CSV file [...]
Read the full article →