How to find string or key value using pl/sql code?
Answer Posted / kumarvijay
var=1; --var='a'
select to_number(var) from dual;
if variable holds string it will through exception else it
will execute.
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
Which is faster union or join?
Is sqlite free?
List the ways to get the count of records in a table?
How is a PL/SQL code compiled?
What is pivot table in sql?
What is the execution plan in sql?
What is user defined functions?
Why is a primary key important?
What is a column in a table?
What is the difference between delete and truncate statement in sql?
What is the difference between function, procedure and package in pl/sql?
Does db2 use sql?
Can we create clustered index without primary key?
What is sequence in sql?
What is the difference between the repeatable read and serializable isolation levels? : Transact sql