Can we use out parameter in function?
Answers were Sorted based on User's Feedback
Answer / anoop
Yes we can use out parameter in functions, it is of great
use when we intend to return more than one value from a
function.
| Is This Answer Correct ? | 16 Yes | 4 No |
Answer / reddyreddy143
1.Yes we can use out parameters in a function.but we have
to assign the out parameter value to the return datatype.
2.But when we use out parameters in function we can't call
the function from a select statement
| Is This Answer Correct ? | 10 Yes | 0 No |
Answer / suresh babu
Yep,we can use the out parameter in Function,the Function won't show the error when using the out parameter.But it is meaningless.The Function,which used the out parameter never return the result.The IN parameter only useful for Functions.
| Is This Answer Correct ? | 0 Yes | 0 No |
Why do we use subquery?
Explain Connect by Prior?
C. Normalize the following data up to the 3rd Normal form. Create the tables and insert the data given. Emp_ID Name Dept_Name Salary Course_Title Date_Completed 100 Adam Marketing 48,000 SPSS 6/19/2008 Surveys 10/7/2008 140 Bob Accounting 52,000 Tax Acc 12/8/2008 110 Cathy IT SQL Server 1/12/2008 C# 4/22/2008 190 Dan Finance 150 Emily Marketing 55,000 SPSS 6/16/2008 42,000 Analysis 8/12/2008 Queries 1. Find all Names who have completed the SPSS Course. 2. Find employee with max salary. 3. Find employee with 2nd max salary. 4. Find all employees in Dept “Marketing”. 5. Find all the employees who have taken more than 2 courses. 6. Find all the employees who have completed the courses before month of September.
define sql update statement ? : Sql dba
What is the difference between a primary key and a unique key?
Can %notfound return null after a fetch?
Mention what problem one might face while writing log information to a data-base table in pl/sql?
What are the different ways to optimize a sql query?
Can we use commit or rollback in trigger? If yes, then how. Please explain with a suitable example?
what is the command used to fetch first 5 characters of the string? : Sql dba
What are the default Oracle triggers??
Can we write ddl statements in functions?
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)