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...

Difference between SUBSTR and INSTR?

Answer Posted / tulsi

SUBSTR is used to extract a set of characters from a string
by specificing the character starting position and end
position and length of characters to be fetched.
example substr('hello',2,3) will return 'ell'

INSTR is used to find the position of any particular
character in a word which returns numeric value.
instr('hello','e') - will return the position of 'e' as 2

Is This Answer Correct ?    65 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what are the differences between char and nchar? : Sql dba

1107


Can we use commit inside a trigger?

1080


What is pl sql in dbms?

941


What are sql functions? Describe in brief different types of sql functions?

1093


Is not null in sql?

985


How does one load ebcdic data? : aql loader

1159


How do I order by ascending in sql?

1000


what is the difference between a web-garden and a web-farm? : Sql dba

1075


How can we solve sql error: ora-00904: invalid identifier?

1243


What are variables in pl sql?

1156


What are predefined functions in sql?

1037


Explain what is a column in a table?

1098


What is t-sql? : Transact sql

977


When sql appeared?

1081


What is pragma in pl sql?

1101