|
|
|
SSC Eights!
      
Group: General Forum Members
Last Login: Tuesday, April 09, 2013 1:20 PM
Points: 936,
Visits: 1,184
|
|
|
|
|
|
SSC Veteran
      
Group: General Forum Members
Last Login: Wednesday, May 22, 2013 5:55 AM
Points: 250,
Visits: 424
|
|
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)[size="2"][/size]
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"
|
|
|
|
|
SSC Veteran
      
Group: General Forum Members
Last Login: Wednesday, May 22, 2013 5:55 AM
Points: 250,
Visits: 424
|
|
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
|
|
|
|
|
Ten Centuries
      
Group: General Forum Members
Last Login: Monday, June 10, 2013 8:20 AM
Points: 1,046,
Visits: 574
|
|
Can't complain...
What you don't know won't hurt you but what you know will make you plan to know better
|
|
|
|
|
SSC-Dedicated
           
Group: Administrators
Last Login: Today @ 5:37 PM
Points: 31,521,
Visits: 13,855
|
|
|
|
|
|
UDP Broadcaster
      
Group: General Forum Members
Last Login: Monday, June 10, 2013 7:59 PM
Points: 1,491,
Visits: 3,010
|
|
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?
|
|
|
|
|
SSC Eights!
      
Group: General Forum Members
Last Login: Tuesday, April 09, 2013 1:20 PM
Points: 936,
Visits: 1,184
|
|
This is a new feature in SQL Server 2008.
Amol Naik
|
|
|
|
|
SSC Veteran
      
Group: General Forum Members
Last Login: Wednesday, May 22, 2013 5:55 AM
Points: 250,
Visits: 424
|
|
| 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.
|
|
|
|
|
Mr or Mrs. 500
      
Group: General Forum Members
Last Login: Friday, March 15, 2013 10:35 AM
Points: 594,
Visits: 654
|
|
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
|
|
|
|