Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Differences explained for CTE , SP , Views and Fun
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

16 Posts

Posted - 06/10/2014 :  04:43:46  Show Profile  Reply with Quote

Would someone be able to explain to me the differences between CTE, SP, view and Functions?

I am getting confused between them all ...

Seems like SP are similar to MST functions but not sure exactly why
and Inline functions similar to views and I really don't get the difference between Views and CTE...

Would appreciate a simple explanation on what these differences are if possible?

Flowing Fount of Yak Knowledge

8781 Posts

Posted - 06/10/2014 :  04:58:07  Show Profile  Visit webfred's Homepage  Reply with Quote
Don't ask for differences please. You can't compare them hence you can't talk about differences.
For each point you have mentioned you should google for a documentation about when an why to use...

It would be much too much to explain it all here in a thread...


Too old to Rock'n'Roll too young to die.
Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.03 seconds. Powered By: Snitz Forums 2000