Click here to Skip to main content
15,900,258 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
what is function ?
what is procedure ?
what is the difference between procedure and function ?
Posted
Comments
Addy1941 2-Jul-15 7:34am    

If you don't know this, you don't deserve to get the job! This is very basic stuff, that I would expect anyone who has done anything with SQL to know.

If you can't answer this yourself, then you will fail the rest of the interview when they get to the harder stiff.
Read a book, and learn the basics!
 
Share this answer
 
Comments
[no name] 9-Sep-11 3:30am    
you are right.
In brief: Function is a named block of T-SQL statements that return a value. Stored procedure is a named block of T-SQL statements.

This actually answers all of your three questions (even though it's not exactly precise).

I do agree with OriginalGriff, you should get the basics right before applying for the job. On the other hand, going to the interviews is a very educating process. So I suggest, go to few of them, don't lie that you know something that you don't, listen carefully what your'e asked.

I believe that this way you will get a good understanding what expectations the companies have and this knowledge helps you to focus on the key areas where you still have some learning to do.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900