How to find string or key value using pl/sql code?
Answers were Sorted based on User's Feedback
Answer / gourvendra singh
if you want to find a string value you can use the
following command
select length(TRIM(TRANSLATE(string,'+-.123456789',' ')))
from dual;
string=value that u entered
if the result is null then the string is numeric else its a
character
Is This Answer Correct ? | 5 Yes | 2 No |
Answer / 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 |
how do you know the version of your mysql server? : Sql dba
How long does it take to learn pl sql?
How does join work in sql?
write the Sql query for creating database backup?
What are all types of user defined functions?
what is self join and what is the requirement of self join? : Sql dba
write a query to delete similar records in same table
What is the difference between microsoft access and sql?
How do you bind variables in pl sql?
Can %notfound return null after a fetch?
Are left and right joins the same?
What are Anti joins