Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


SQL Server 2008


SQL Server 2008

Author
Message
AmolNaik
AmolNaik
SSC Eights!
SSC Eights! (991 reputation)SSC Eights! (991 reputation)SSC Eights! (991 reputation)SSC Eights! (991 reputation)SSC Eights! (991 reputation)SSC Eights! (991 reputation)SSC Eights! (991 reputation)SSC Eights! (991 reputation)

Group: General Forum Members
Points: 991 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.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)

Group: General Forum Members
Points: 1196 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-Forever
SSC-Forever (42K reputation)SSC-Forever (42K reputation)SSC-Forever (42K reputation)SSC-Forever (42K reputation)SSC-Forever (42K reputation)SSC-Forever (42K reputation)SSC-Forever (42K reputation)SSC-Forever (42K reputation)

Group: Administrators
Points: 42610 Visits: 18877
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
SSCommitted
SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)

Group: General Forum Members
Points: 1558 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
SSC Eights!
SSC Eights! (991 reputation)SSC Eights! (991 reputation)SSC Eights! (991 reputation)SSC Eights! (991 reputation)SSC Eights! (991 reputation)SSC Eights! (991 reputation)SSC Eights! (991 reputation)SSC Eights! (991 reputation)

Group: General Forum Members
Points: 991 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
SSChasing Mays
SSChasing Mays (652 reputation)SSChasing Mays (652 reputation)SSChasing Mays (652 reputation)SSChasing Mays (652 reputation)SSChasing Mays (652 reputation)SSChasing Mays (652 reputation)SSChasing Mays (652 reputation)SSChasing Mays (652 reputation)

Group: General Forum Members
Points: 652 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