How to find string or key value using pl/sql code?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is sqlite format?

622


what are the types of join and explain each? : Sql dba

526


What is error ora-01000: maximum open cursors exceeded

598


What is the difference between sql and mysql?

545


Define the select into statement.

567






What version is sql?

547


What is a join?

615


How we can update the view?

594


how can you create an empty table from an existing table? : Sql dba

652


How do I find duplicates in a single column in sql?

525


what are tables and fields? : Sql dba

570


Why is stored procedure faster than query?

486


how to create a table index in mysql? : Sql dba

588


Can we update views in sql?

527


What is denormalization in a database?

585