adspace


What is Difference between StoredProcedure and function?

Answer Posted / prabhu karanam

We can use a function in the select query, but Procedure we
can't use in select query. But the function created with out
parameter, we can't use in select statement. Only in
parameter, we can use.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what are the advantages of sql ? : Sql dba

1154


define sql insert statement ? : Sql dba

1110


what is sql server agent? : Sql dba

1189


how many tables will create when we create table, what are they? : Sql dba

1156


If a cursor is open, how can we find in a pl/sql block?

1252


Is inner join faster than left join?

1287


Does group by remove duplicates?

1120


Is primary key clustered index?

1028


Can delete statement be rollbacked?

1065


Is primary key always clustered index?

1101


Do we need to rebuild index after truncate?

1154


How do I remove duplicates in two columns?

1202


what is bcp? When does it used? : Sql dba

1065


What is the current version of postgresql?

1188


what is collation? : Sql dba

1242