I have a column which has characters which are unknown - may be control characters or some other junk. I would like to find the specific row with the column with this problem. When I do a function such as to_number or to_date, it gives an error but doesn't tell the exact row. I have a counter column which I can use which does take some time. The dump function does the same thing, that is, errors out. The error is ORA-01841 when inserting into a date column. Is there a way to run one SELECT and find the specific row? Something like:
select * from Tbl1 where instr(dump(Col1),'20')=0
This column is supposed to have an 8 digit number only which gets translated into date.
Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.
Why doesn't the Oracle optimizer use my index?
Querying too much data
Most Oracle developers know that an index is useful when you can use it to restrict your result set to a small number of the total rows in a table.
So, the obvious side…
Cursors in Oracle:
A cursor is used to process individual rows returned by database system for a query.
In oracle every SQL statement executed by the oracle server has a private area. This area contains information about the SQL statement and the…
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…