four procedures is are there should i write their in a package
Answers were Sorted based on User's Feedback
Answer / a.jyothsna
We can write any no.of procedures in a package
Is This Answer Correct ? | 2 Yes | 0 No |
Answer / rahul khanke
yes u can write number of procedure in a package
bcoz package is collectin of stored procedure and function.
the idea is-- it is an box(package) where all the material
(procedure and function) is stored.
Is This Answer Correct ? | 1 Yes | 0 No |
How to avoid using cursors? What to use instead of cursor and in what cases to do so?
what is oracle database ? : Sql dba
How you will create Toad Function?
Explain how to use transactions efficiently : transact sql
Are views faster than queries?
What is the sql*loader? : aql loader
why we go for package? what are the advantages of using instead of seperate procuderes or functions
Can we use more than one null value for unique key?
31 Answers A1 Technology, Wipro,
i don't want the message as 14 rows updated just it should update what it will do
how can we know the number of days between two given dates using mysql? : Sql dba
Why we use triggers in mysql?
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.