adspace


what is the differnce between procedure and function?
in both dml operations can work and in procedure through out
parameter you can return value ,then what is the differce?

Answer Posted / dinakar

Though Procedure returns a value through OUT parameter, it
cannot be used in SELECCT statement. Whereas a function can
be called in SELECT statement.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is dbms? : Sql dba

1061


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

1056


Is primary key clustered index?

1019


what are the advantages of sql ? : Sql dba

1142


what is sql server agent? : Sql dba

1182


what is collation? : Sql dba

1229


Is primary key always clustered index?

1095


what are aggregate and scalar functions? : Sql dba

1129


define sql insert statement ? : Sql dba

1098


Can we rollback truncate?

1074


how to start mysql server? : Sql dba

1267


What is the current version of postgresql?

1178


What is the current version of sql?

1094


Can we use distinct and group by together?

1133


What is your daily office routine?

2346