Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

Answers were Sorted based on User's Feedback



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

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

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

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

Post New Answer

More SQL PLSQL Interview Questions

Is it possible to include an insert statement on the same table to which the trigger is assigned?

0 Answers  


Explain constraints in sql?

0 Answers  


what are all the different types of indexes? : Sql dba

0 Answers  


What is data modelling in sql?

0 Answers  


Can we join more than 2 tables in sql?

0 Answers  


what are the differences between public, private, protected, static, transient, final and volatile? : Sql dba

0 Answers  


Talk about views

10 Answers   Polaris,


What is clustered and nonclustered index in sql?

0 Answers  


i need department wise top 2 employees salary.which logic i will use

17 Answers  


How do I count rows in sql query?

0 Answers  


what is the difference between truncate and drop statements? : Sql dba

0 Answers  


how to use 'mysql' to run sql statements? : Sql dba

0 Answers  


Categories