user defined elements in Sql Server - relative purpose and benefits.

user defined column data types has existed for a while in SQL Server.

Now recently they have introduced user defined table type.

Are the benefits the same between the above two? Are they are similar in benefits?

the primary benefit i realize for user-defined data types is that they add the ability to describe data data elements. Both first name and city can be varchar(25), but if I have one user type definited for first name and one for city, it describes itself more clearly and less error.. is this the same kind of benefit to expect from user defined table types?

why did MS wait or delay in introducing user defined table types, compared to user defined data types?
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

The most important benefit of user defined table type is that allows to pass a table as parameter to a stored procedure, which was not possible before 2008. In order to do that the table has to be a table variable  of user defined type not just regular table variable.

Here is an article about it:

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SQL Server 2008

From novice to tech pro — start learning today.