What is the difference between a stored procedure and a function?.

  • Thread starter Thread starter Guest
  • Start date Start date
jemrick said:
When do I use and what is the difference?

A function can be used as a table; an SP can't.

A function returns a defined data type (including table); an SP can but
doesn't have to.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top