ora-01722 Questions
6
I have an issue that is generated randomly (one time between thousandth of calls).
The error ORA-01722: invalid number is generated in a random way while executing sql update in a prepared statemen...
Sixfold asked 17/5, 2012 at 12:53
9
Solved
SELECT TO_NUMBER('*') FROM DUAL
This obviously gives me an exception:
ORA-01722: invalid number
Is there a way to "skip" it and get 0 or NULL instead?
The whole issue: I have NVARCHAR2 fiel...
Kruse asked 20/12, 2010 at 4:48
3
Solved
3
Solved
I've been using a parameterized query to insert values into an Oracle table, like so:
var q = "insert into MyTable(Field1, Field2...) values(:Field1, :Field2...)";
var cmd = new OracleCommand(q, c...
5
Solved
I have a table Application which has a column
BORROWINGTERM NUMBER(10,0) Nullable
why this script throw an error (ORA-01722 invalid number)
select nvl(borrowingterm, 'no term') from Application...
3
Solved
This is an absolute howler. I cannot believe my own eyes, and I cannot believe nobody before me would have discovered this if it was a genuine bug in C#, so I'm putting it out for the rest of the d...
2
Solved
How can I create a Sequence where my START WITH value comes from a query?
I'm trying this way:
CREATE SEQUENCE "Seq" INCREMENT BY 1 START WITH (SELECT MAX("ID") FROM "Table");
But, I get the OR...
3
Solved
I have an Oracle table and a column (col1) has type varchar2(12 byte). It has one row and value of col1 is 1234
When I say
select * from table where col1 = 1234
Oracle says invalid number. Why...
Knowle asked 2/5, 2012 at 19:29
3
Solved
I have a problem when inserting a string of numbers into sql query
SELECT *
FROM tablename a
WHERE a.flokkurid IN (3857,3858,3863,3285)
ORDER BY sjodategund, rodun
...or:
SELECT *
FRO...
Sundowner asked 27/5, 2011 at 16:27
1
Solved
First of all I am using Oracle:
Table One Name = tableone
Table Two Name = tabletwo
tableone has a column named pizzaone, tabletwo has a column named pizzatwo. I want to join tableone to tabletw...
1
Solved
1
Solved
I have a query that joins two tables. One table has a column that is of type varchar, and the other table has type of number. I have executed my query on 3 oracle databases, and am seeing some stra...
Spelling asked 24/2, 2010 at 23:19
5
Solved
I want to write a funcion or procedure that can be used in the IN clause of another procedure. The function or procedure would return ID numbers.
The main procedure would say something like
SEL...
1
© 2022 - 2024 — McMap. All rights reserved.