adspace
What is the difference between a procedure and a function?
Answer Posted / Ajay Kumar Agrahari
A stored procedure is a set of SQL statements that performs a task, while a stored function returns a single value. Stored procedures can have input parameters, but they don't return a value. On the other hand, stored functions can accept input parameters and return a single scalar value as output.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
what is collation? : Sql dba
Is primary key always clustered index?
what is bcp? When does it used? : Sql dba
what are all the common sql function? : Sql dba
what is dbms? : Sql dba
what is schema? : Sql dba
what are the advantages of sql ? : Sql dba
What is your daily office routine?
how to start mysql server? : Sql dba
how many tables will create when we create table, what are they? : Sql dba
Can we use distinct and group by together?
Do we need to rebuild index after truncate?
what are aggregate and scalar functions? : Sql dba
Hi am new to PLSQL & facing problems in writing code like in SP, Functions, so any one having some SP coding with in depth explanation please share with me my Email ID suvarnaatsuvarna@rediffmail.com Or taking tanning on this please do contact me
Does group by remove duplicates?