This is similar to "Oracle Nasty Dates Finder for .NET folks!" but this time it is for numbers instead of dates! I ran into this issue as I was moving data from Oracle to SQL Server. So, you are working with Oracle using ODP.NET and you have a simple, straight-forward SELECT * FROM TABLE; Alternatively, … Continue reading Oracle ODP.NET: Resolve “Arithmetic operation resulted in an overflow” or “Specified cast is not valid”
This is one of those obscure errors that has no answer on the Web. I ran into this error trying to migrate an Oracle table to SQL Server (one of many). The issue seemed to be only with certain rows of this table as it migrated majority of the data without issues. Below is the … Continue reading Oracle & .NET: Resolve – Exception calling “Fill” with “1” argument(s): ‘count’ must be non-negative.
If you have not checked my quick intro to the Interval datatype here, please do so before reading on. Now, that we know the “interval” data type, let us see how we can extract out the individual components within it for both the “DAY TO SECOND” and “YEAR TO MONTH” variations. The following example should … Continue reading Oracle – Interval Datatype – Extracting Components (Years/Months/Days/Hours/Minutues/Seconds)- Usage Example Reference
Parsing tnsnames.ora using PowerShell I published a post on how to enumerate tnsnames.ora entries using PowerShell. Although it may work, that is not the correct way to do this. This is a re-post of my tip on CodeProject. This should be easy enough to convert to PowerShell. However, if your tnsnames.ora is not the one that … Continue reading Oracle – Enumerate tnsnames.ora Entries Without Parsing
"Oops! Something went wrong" seems to be the fashionable thing to do when throwing errors these days. Not surprisingly, when issuing a query from PowerShell against Oracle, it kept producing this error at random ORA-24381: error(s) in array DML The error did not always happen. It only happened once in a while and it was … Continue reading How to Resolve – “ORA-24381: error(s) in array DML”