![]() |
|
|
|||||||
![]() |
MCSD - Interview Questions Feb 01 2006 |
|
|
Thread Tools | Search this Thread |
|
|
#1 |
|
What's the difference between Stored Procedure (SP) and User Defined Function (UDF)? Following are some major differences between a stored procedure and user defined functions:- 1)UDF can be executed using the "SELECT" clause while SP's can not be. 2)UDF can not be used in XML FOR clause but SP's can be used. 3)UDF does not return output parameters while SP's return output parameters. 4)If there is an error in UDF its stops executing. But in SP's it just ignores the error and moves to the next statement. 5)UDF can not make permanent changes to server environments while SP's can change some of the server environment. Full Interview Questions for .NET and SQL Server http://www.geocities.com/dotnetinterviews/ Help the community to make job search easier mail your questions to Looking for a onsite job mail your resumes at Jobs |
|
|
![]() |
| Thread Tools | Search this Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| 70-536 questions and time limit for exam? type of questions? | gravz84 | MCTS | 2 | 11-22-2007 07:57 PM |
| 70-536 questions and time limit for exam? type of questions? | gravz84 | MCTS | 0 | 11-13-2007 05:44 PM |
| Java Interview Questions | steve.steve85 | Software | 0 | 09-28-2007 05:20 PM |
| Top Interview Questions | steve.steve85 | General Help Related Topics | 0 | 09-28-2007 05:19 PM |
| CTS - 2006 :: Interview with Lite-On's Jelmer Veldman | Silverstrand | Front Page News | 0 | 05-17-2006 01:32 PM |