write a query that returns first characters of each word in
Oracel/Sql pl sql
Answer Posted / murali
Answers given above are correct except one
For PL-SQL:-
DECLARE
CURSOR ECUR IS SELECT SUBSTR(ENAME,1,1) as sub_name FROM EMP;
BEGIN
FOR V_ECUR IN ECUR LOOP
DBMS_OUTPUT.PUT_LINE(V_ECUR.sub_name);
END LOOP;
END;
Note: column alias name must be given.
Is This Answer Correct ? | 6 Yes | 1 No |
Post New Answer View All Answers
how to concatenate two character strings? : Sql dba
What port does sql server use?
What are the types of queries in sql?
What is primary key sql?
How does one load ebcdic data? : aql loader
What is a primary key called that is made up of more than one field?
Why do we create stored procedures & functions in pl/sql and how are they different?
Is sql port 1433 encrypted?
How do I order by ascending in sql?
What are the popular database management systems in the it industry?
explain what is mysql? : Sql dba
i have a column which may contain this kind of value: 123*67_80,12*8889_5,34*8_874 ,12*7_7 (can contain space before a comma, and this string length can be anything) now i want to split this value into two column like: column1: 123*67,12*8889,34*8,12*7 column2: 80,5,874,7 use function for this
how many columns can be used for creating index? : Sql dba
How many times can we commit in a loop?
What is normalization sql?