Standard program for PO
What is the standard program for PO while entering the data from interface tables to basetables? Explain briefly
"Import Standard Purchase Order" Concurrent Program
What is difference between a procedure & function ?
a function is always returns a value using the return statement. a procedure may return one or more values through parameters or may not return at all.
Answered by: krishnaindia2007
View all answers by krishnaindia2007
Member Since Sep-2007 |
Answered On : May 3rd, 2008
1. Function is mainly used in the case where it must return a value. Where as a procedure may or may not return a value or may return more than one value using the OUT parameter. 2. Function can be called from SQL statements where as procedure can not be called from the sql statements 3. Functions are normally used for computations where as procedures are normally used for executing business logic. 4. You can have DML (insert,update, delete) statements in a function. But, you cannot call such a function in a SQL query.5. Function returns 1 value only. Procedure can return multiple values (max 1024). 6.Stored Procedure: supports deferred name resolution. Example while writing a stored procedure that uses table named tabl1 and tabl2 etc..but actually not exists in database is allowed only in during creation but runtime throws error Function wont support deferred name resolution. 7.Stored procedure returns always integer value by default zero. where as function return type could be scalar or table or table values8. Stored procedure is precompiled execution plan where as functions are not. 9.A procedure may modify an object where a function can only return a value The RETURN statement immediately completes the execution of a subprogram and returns control to the caller.
What is the difference between system procedure and system function?.
Also Procedure can be called from triggers but Function cannot be called from trigger. As function returns value. And no value can be returned to trigger.
What is your way of building rapport with a person you just met?
Do you like working in a team or alone? Explain.
How do you handle conflict?
What are the career opportunities available for MCA Graduates?
What was the most important decision you ever had to make?
What do you do when things do not go as planned? Cite an example.
What is the role of a mechanical engineer in the Software Industry?
How to handle academic gap while applying for a job?
What do you think about our company?
What are the career options available in Software Testing Industry?
Ask Interview Question?
Have Career Question?
Ask Only Career questions.