why should required nested tables, Object types, partition
tables and varying arrays. what is the difference between
these are all. give me example with explanation.
Answers were Sorted based on User's Feedback
Answer / suresh kumar somayajula
V-Array is an Ordered set of elements.It's having Maximum
size and you can't delete individual elements. V-Arrays are
dense.
Nested Table is an un-orderes set of elements.It doesn't
have maximum size and you can delete individual elements
from Nested Tables . Nested Table can be Parse.
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / manoranjan sethy
If you want to declare fixed element then use varray.
If you want to declare any number of element at run time then use nested table.
Is This Answer Correct ? | 0 Yes | 0 No |
what is 'trigger' in sql? : Sql dba
What is normalization? dec 2009
SELECT emp_num, years, SUM(salary) FROM sales UNION ALL SELECT emp_id, SUM(takehomepay) FROM marketing What error is present in the sample code above? 1. Queries being combined with the UNION ALL statement are not allowed to have SELECT lists with a different number of expressions. 2. You are not allowed to use aggregate functions within two queries joined by a UNION ALL statement. 3. The UNION ALL statement incorrectly combines the "years" result from the first query with the "SUM (takehomepay)" result from the second query. 4. Unless the UNION ALL statement is replaced with a UNION statement, the queries will return duplicates. 5. The "emp_id" column from the second query must be renamed (or aliased) as "emp_num" so that it corresponds to the column name from the first query. Otherwise, the queries will not execute.
Can we update views in sql?
What does count (*) mean?
What can you do with pl sql?
How do I run sql profiler?
What is delete command in sql?
suppose I have two table one Emp and other is dpt. Emp table has a field ,dept id,name ,sal and dpt table has a field dept id,dept name. Now I want to find out the emplyee list whose sal is between 2000-3000 from dept x.
7 Answers Geometric Software, IBM,
How do you optimize a stored procedure query?
declare l1 number := null; l2 number :=null; begin if l1=l2 then message('equal'); else if l1<>l2 then message('not equal'); else message('else'); end if; end if; end; What will be the output ?
What does data normalization mean?