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
What are reports usually used for?
what is meant by nl2br()? : Sql dba
Does a user_objects view have an entry for a trigger?
What is pivot table in sql?
Explain what is a database?
What is difference between table and view?
Is t sql a programming language?
Why join is faster than subquery?
Define union, minus, union all, intersect ?
Which table is left in left join?
what is collation? : Sql dba
What are the different sql languages?
What are the topics in pl sql?
how to use in conditions? : Sql dba
what is the difference between mysql_fetch_object and mysql_fetch_array? : Sql dba