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 |
i want insert 10 records from table a to table b. if i m using statement level trigger how many record insert ?in row level trigger how many record inserted???
3 Answers Scope International,
how to add a new column to an existing table in mysql? : Sql dba
Under what condition it is possible to have a page level lock and row lock at the same time for a query? : Transact sql
wtite down triggr not any entry on Sunday
What is the differnce between view and materialized view
What is the difference between numeric and autonumber?
Give me some examples of predefined exceptions.
What are triggers and its types?
what does the t-sql command ident_current does? : Transact sql
What are the syntax and use of the coalesce function?
What is compound trigger?
Let us suppose we have a table with structure in order empno empname empdesig empcountry and now i want to re-organize the columns of this table to empno empdesig empname empcountry how can i do this with queries ? assume that table contains the data.
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)