SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


SQL Server 2008


SQL Server 2008

Author
Message
AmolNaik
AmolNaik
Ten Centuries
Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)

Group: General Forum Members
Points: 1127 Visits: 1234
Comments posted to this topic are about the item SQL Server 2008

Amol Naik
Cedz
Cedz
SSC Veteran
SSC Veteran (254 reputation)SSC Veteran (254 reputation)SSC Veteran (254 reputation)SSC Veteran (254 reputation)SSC Veteran (254 reputation)SSC Veteran (254 reputation)SSC Veteran (254 reputation)SSC Veteran (254 reputation)

Group: General Forum Members
Points: 254 Visits: 454
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";-)
Cedz
Cedz
SSC Veteran
SSC Veteran (254 reputation)SSC Veteran (254 reputation)SSC Veteran (254 reputation)SSC Veteran (254 reputation)SSC Veteran (254 reputation)SSC Veteran (254 reputation)SSC Veteran (254 reputation)SSC Veteran (254 reputation)

Group: General Forum Members
Points: 254 Visits: 454
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
BudaCli
BudaCli
Ten Centuries
Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)

Group: General Forum Members
Points: 1268 Visits: 598
Can't complain...

What you don't know won't hurt you but what you know will make you plan to know better
Steve Jones
Steve Jones
SSC Guru
SSC Guru (63K reputation)SSC Guru (63K reputation)SSC Guru (63K reputation)SSC Guru (63K reputation)SSC Guru (63K reputation)SSC Guru (63K reputation)SSC Guru (63K reputation)SSC Guru (63K reputation)

Group: Administrators
Points: 63809 Visits: 19116
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.

Follow me on Twitter: @way0utwest
Forum Etiquette: How to post data/code on a forum to get the best help
My Blog: www.voiceofthedba.com
john.arnott
john.arnott
SSCrazy
SSCrazy (2K reputation)SSCrazy (2K reputation)SSCrazy (2K reputation)SSCrazy (2K reputation)SSCrazy (2K reputation)SSCrazy (2K reputation)SSCrazy (2K reputation)SSCrazy (2K reputation)

Group: General Forum Members
Points: 2004 Visits: 3059
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?
AmolNaik
AmolNaik
Ten Centuries
Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)

Group: General Forum Members
Points: 1127 Visits: 1234
This is a new feature in SQL Server 2008.

Amol Naik
Cedz
Cedz
SSC Veteran
SSC Veteran (254 reputation)SSC Veteran (254 reputation)SSC Veteran (254 reputation)SSC Veteran (254 reputation)SSC Veteran (254 reputation)SSC Veteran (254 reputation)SSC Veteran (254 reputation)SSC Veteran (254 reputation)

Group: General Forum Members
Points: 254 Visits: 454
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.
Peter Trast
Peter Trast
Say Hey Kid
Say Hey Kid (694 reputation)Say Hey Kid (694 reputation)Say Hey Kid (694 reputation)Say Hey Kid (694 reputation)Say Hey Kid (694 reputation)Say Hey Kid (694 reputation)Say Hey Kid (694 reputation)Say Hey Kid (694 reputation)

Group: General Forum Members
Points: 694 Visits: 655
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
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search