after tell procedure whole code he asked can i write the
same way in a function
Answers were Sorted based on User's Feedback
Answer / shekharjchandra
Can you please explain what your question mean ??
What is tell procedure ?
Who asked the whole code ?
please post correct questions
regards
j
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / sandip
Yes please correct your Question it measn we can able to
provide your Questions Answers.
Best Regards,
KR
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / jjj
i guess the interviewer might asked him to write a function
by giving the procedure logic..
Is This Answer Correct ? | 0 Yes | 0 No |
How to maintain the history of code changes of pl/sql?
How can you know that statistics should be updated?
how to create user in sql and how to set password for that?
Why procedure is used in sql?
What is an inconsistent dependency?
what is the different between now() and current_date()? : Sql dba
what are the advantages a stored procedure? : Sql dba
what are the methods using performance tunning in sql and pl/sql
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.
What is a parameter query?
What is Temp Table and type of temp table?
What is pls integer?