how to declare array in plsql?



how to declare array in plsql?..

Answer / nagaraju bhatraju

DECLARE
TYPE v_arr IS VARRAY(25) of NUMBER(3);


v1 v_arr;

v_empno employee.empno%TYPE;

BEGIN

v1(2) := 3;
DBMS_OUTPUT.PUT_LINE('The Value of v1(2) = ' || v1(2));

v_empno := 4;

END;

Is This Answer Correct ?    13 Yes 17 No

Post New Answer

More Informatica Interview Questions

In a table, 4 person having same salary. How to get Third person record only?

15 Answers  


What is a parameter When and where do you them when does the value will be created

0 Answers  


what is shortcut in informatica? difference between shortcut,reusable object?

2 Answers   Virtusa,


what is granularity,what type of granularity we will take in fact tables either lowlevel or highlevel,if two tables having same granularity that is posiable or not

1 Answers  


tell me the push down optimization

2 Answers   Wipro,


tell me the informatica architecture

1 Answers   Banca Sella, Wipro,


Suppose we have a (assume relational) source table Product_Id Month Sales 1 Jan x 1 Feb x . . . . . . 1 Dec x 2 Jan x 2 Feb x . . . . . . 2 Dec x 3 Jan x 3 Feb x . . . . . . 3 Dec x . . . . . . and so on. Assume that there could be any number of product keys and for each product key the sales figures (denoted by 'x' are stored for each of the 12 months from Jan to Dec). So we want the result in the target table in the following form. Product_id Jan Feb March.. Dec 1 x x x x 2 x x x x 3 x x x x . . So how will you design the ETL mapping for this case , explain in temrs of transformations.

5 Answers   Accenture, VAMA,


What is IQD file?

1 Answers  


If we use sorted ports in aggregator transformation and somehow records are not in order by format so what will happen,session fails or it succeeded with incorrect data?

1 Answers   Amdocs,


How to display session logs based upon particular dates. If I want to display session logs for 1 week from a particular date how can I do it without using unix. ?

1 Answers   CTS,


How can informatica be used for an organization?

1 Answers  


What are the disadvantages of Sequence Generator T/R?

3 Answers   Zensar,


Categories