January 9, 2010 at 11:42 am
Comments posted to this topic are about the item SQL Server 2008
Amol Naik
January 10, 2010 at 11:00 pm
Hi ,
Sorry but i do not agree with the answer on this one ,Please could some one shed some light on the fact that according to BOL s that :
A DEFAULT value cannot be specified in the definition of a user-defined table type.
(The question is making specific reference to udf table types and not udf types as the refrence in the question specifies)
Please see the correct reference according to me :
ms-help://MS.SQLCC.v10/MS.SQLSVR.v10.en/s10de_1devconc/html/99cbdb5c-589c-47e9-887a-0039db7f104a.htm
The correct answer to this question is in fact "False";-)
January 10, 2010 at 11:05 pm
Sorry my bad , I see that there has been a change according to msdn
http://msdn.microsoft.com/en-us/library/bb522526.aspx
In the Change History updated content was provided :
Removed the following statement from Restrictions: A DEFAULT value cannot be specified in the definition of a user-defined table type.
I obviously need to updater my BOL
January 11, 2010 at 4:36 am
Can't complain...
January 11, 2010 at 8:36 am
That's one reason we try to only refer to the online BOL version. It changes quarterly, and local help can easily be out of date if you're not paying attention.
January 11, 2010 at 10:14 am
Cedric,
Thanks for the link about Table Types.
The QOD asks about table types, but the BOL link in the explanation refers to user defined data types. I find nothing about table types in the 2005 BOL entry for "Create Type", so may i assume this is a feature new to 2008?
January 11, 2010 at 10:50 am
This is a new feature in SQL Server 2008.
Amol Naik
January 11, 2010 at 10:49 pm
As per Previous Post ,yes this is a new feasture in SQL Server 2008.But thanks for the questions.Makes one think and also do a bit of investigation before just answering .That will teach me to rather use the online version or update my BOL more regularly.
March 16, 2010 at 11:29 am
Yay! Thanks BOL! I taught that last week... but with the wrong information that I learned from BOL... lol ... I guess I need to pay more attention to the changes in BOL.
Man, even when I am right I am wrong sometimes...
Peter Trast
Microsoft Certified ...(insert many literal strings here)
Microsoft Design Architect with Alexander Open Systems
Viewing 9 posts - 1 through 8 (of 8 total)
You must be logged in to reply to this topic. Login to reply