counting the no.of characters occurs in a string by using
pl/sql function
Answer / revathy
create or replace function f1(
iip in varchar2,iip2 in char)
Return number
is
tot number;
Begin
select (length(iip)-length(replace(iip,iip2))) into tot
from dual;
return tot;
end;
Is This Answer Correct ? | 14 Yes | 1 No |
Can ddl statements be used in pl/sql?
I am creating an index on Emp table Empno column,if u using this indexed column in ur SELECT stmt. where clause,then how do u know that yr index will be working or nor? Thanks Advance...
A table was given with 3 columns like Manager id,Manager Name and Employee name. Question was to create hierarchy.
Can 2 queries be executed simultaneously in a distributed database system?
What is auto increment?
Does pl sql work in mysql?
how to give permission to users that users can update/insert/delete on a row of table on timeing 10am to 6pm only?
What are the different types of dbmss?
who introduced sql?
how many no of table can be join in a sql query.
What are the differences between implicit and explicit cursors?
What does the file extension accdb stand for?