Click here to Skip to main content
15,900,973 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
yesterday i gave an interview and interviewer asked me blow question but i dont know the answer bcz i m a beginner for .Net .
Interviewer: How many types of parameters can we pass to stored procedure?


pls answer my question.......

i have googled out tht there are 2100 parameters can be passed to stored procedure but i dont know how many types of parameters can be passed to stored procedure...?
Posted
Updated 3-Mar-12 18:56pm
v2

 
Share this answer
 
v2
Comments
Sergey Alexandrovich Kryukov 4-Mar-12 1:53am    
Right reference, my 5, but, if you don't mind, I fixed you formatting/href. By the way, you should not check "Treat my content as plain text, not as HTML".

Also, I think my answer is a bit more general... :-)
--SA
This is one of those idiotic interview questions. Why would anyone require to remember all possible types? By the way, why would you like to know it now?

I would probably not hire a person who would give me exact number or list them all — people with such mechanical memory are not usually very creative, reasonable and able to solve real problems. People asking such questions are just idiots, and I can imagine people they collected in the company, as some of them probably passed similar interviews.

Are you sure you want to work with morons?

Take care, good luck,
—SA
 
Share this answer
 
2100 types of parameters can be pass to stored procedure.
 
Share this answer
 
Comments
Member 8693833 4-Mar-12 0:43am    
but i googled out and i found tht we can pass 2100 parameters to a stored procedure but i dont know how many types of parameters...?
so can u give me any link or proper solution.....?
Aniket Yadav 4-Mar-12 0:54am    
There are just two types of parameters in SQL Server. 1. INPUT Parameters. 2. OUTPUT Parameters
Sergey Alexandrovich Kryukov 4-Mar-12 1:49am    
No. First, there are IN, OUT and INOUT, and they are not types, the are called parameter-passing modes or "parameter modes".
--SA
Member 8693833 4-Mar-12 1:02am    
ok thnks.....

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