June 25, 2014 at 12:01 am
in an interview i have said that the functions are executed at the clients memory and stored procedures are executed at he server side
as long back i have read these on the differences between function and procedures on a web site now when i browse it is not visible may be my search mistakes
can any body correct this give the links where i can find these (MS SQL Server)
June 25, 2014 at 12:32 am
rama_kavuri (6/25/2014)
in an interview i have said that the functions are executed at the clients memory and stored procedures are executed at he server sideas long back i have read these on the differences between function and procedures on a web site now when i browse it is not visible may be my search mistakes
can any body correct this give the links where i can find these (MS SQL Server)
Every call made to the sql server is executed on the server side. there is no client side involved. Both have different working in the world of sql server.
you can find hundreds of article u just need to google it.
one of them is this http://stackoverflow.com/questions/1179758/function-vs-stored-procedure-in-sql-server
June 25, 2014 at 12:45 am
As far as i know,both the functions and stored procedures are objects created on the database,so it is server side.
you can say any adhoc query or dynamic sql used within the application as cleint side.
Javeed Ahmed
this was answered like this ..............................?
June 25, 2014 at 1:02 am
no that not correct the
SwePeso statement explains it better
EVERYTHING that is defined as T-SQL is executed at server side.
Microsoft SQL Serve works with sets and can return data from the server to the client during the batch (collection of statements).
if i put it this way, Everything is server side in sql server. 🙂
June 25, 2014 at 4:01 am
It does depend on what we're talking about when we say functions. If you're talking in-line table functions or multi-statement table valued functions that are created within SQL Server, then those are executed on SQL Server. If you're talking about functions within C#, F#, Java, or name your programming language, and we're not talking about Common Language Runtime (CLR) functions, then those functions are executed on the client. But we have to define the terms better to know which is right.
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
Viewing 5 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic. Login to reply