Click here to Skip to main content
15,886,362 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear anybody,

i using a table valued function for extracting crodes record from sql server.
i need to use this table valued function in many stored procedure.
can tell me which has best performance stored procedure or table valued function.
how i can find cost of table valued function.


Thanks.
Ganu Sharma
Posted

1 solution

Should I use a view, a stored procedure, or a user-defined function?[^] should be a useful item for you to go through.
 
Share this answer
 
Comments
Pravin Patil, Mumbai 10-Oct-11 1:28am    
+5 link...
Ganu Sharma 11-Oct-11 7:13am    
Hello Abhinav.
Thanks for solution.
i used stored procedure & udf. can you tell me which is faster in sql server table valued function or sp ?
my tvf works on records are greather than 90 lacs.

Thanks.
Ganu Sharma

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