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


Know Your SQL Objects


Know Your SQL Objects

Author
Message
Brandie Tarvin
Brandie Tarvin
SSC Guru
SSC Guru (78K reputation)SSC Guru (78K reputation)SSC Guru (78K reputation)SSC Guru (78K reputation)SSC Guru (78K reputation)SSC Guru (78K reputation)SSC Guru (78K reputation)SSC Guru (78K reputation)

Group: General Forum Members
Points: 78111 Visits: 9455
Comments posted to this topic are about the item Know Your SQL Objects

Brandie Tarvin, MCITP Database AdministratorLiveJournal Blog: http://brandietarvin.livejournal.com/On LinkedIn!, Google+, and Twitter.Freelance Writer: ShadowrunLatchkeys: Nevermore, Latchkeys: The Bootleg War, and Latchkeys: Roscoes in the Night are now available on Nook and Kindle.
free_mascot
free_mascot
SSChampion
SSChampion (13K reputation)SSChampion (13K reputation)SSChampion (13K reputation)SSChampion (13K reputation)SSChampion (13K reputation)SSChampion (13K reputation)SSChampion (13K reputation)SSChampion (13K reputation)

Group: General Forum Members
Points: 13471 Visits: 2250
Good question!!!

---------------------------------------------------
"Thare are only 10 types of people in the world:
Those who understand binary, and those who don't."
Danny Ocean
Danny Ocean
Hall of Fame
Hall of Fame (3.1K reputation)Hall of Fame (3.1K reputation)Hall of Fame (3.1K reputation)Hall of Fame (3.1K reputation)Hall of Fame (3.1K reputation)Hall of Fame (3.1K reputation)Hall of Fame (3.1K reputation)Hall of Fame (3.1K reputation)

Group: General Forum Members
Points: 3088 Visits: 1549
Learn new thing.. thx

Thanks
Vinay Kumar
-----------------------------------------------------------------
Keep Learning - Keep Growing !!!
www.GrowWithSql.com
srikant maurya
srikant maurya
SSCommitted
SSCommitted (2K reputation)SSCommitted (2K reputation)SSCommitted (2K reputation)SSCommitted (2K reputation)SSCommitted (2K reputation)SSCommitted (2K reputation)SSCommitted (2K reputation)SSCommitted (2K reputation)

Group: General Forum Members
Points: 1987 Visits: 1061
Easy but tricky question,
Srikant
Nils Gustav Stråbø
Nils Gustav Stråbø
SSCertifiable
SSCertifiable (5.9K reputation)SSCertifiable (5.9K reputation)SSCertifiable (5.9K reputation)SSCertifiable (5.9K reputation)SSCertifiable (5.9K reputation)SSCertifiable (5.9K reputation)SSCertifiable (5.9K reputation)SSCertifiable (5.9K reputation)

Group: General Forum Members
Points: 5909 Visits: 3575
Good question, but I thing the answer options are a little confusing.

"-Extents can be owned by multiple objects"
True, mixed extents.
"-Rows can span multiple pages (excluding LOB data)"
True. Row-overflow.
"-Extents can be owned by only one object"
False, since they can be a mixed extent (or even an extent that has not been allocated). Perhaps it's your use of the word "only" that confuses me, but what I read is "an extent must be owned by one, and only one, object."
"-Data pages can be owned by multiple objects"
False, obviously.
"-Text data is stored on data pages."
Do you mean text as in the datatype text, or as in text/strings? If you mean text as the text datatype, which makes this answer false, then please write so. If you mean text as in all data types that can store strings, then this answer is true.
"-Data pages can be owned by only one object"
True. One and only one object can use a data page. And when you compare the extent vs data page answers, you see why I'm confused.
"-A table row can be bigger than 8060 bytes if some of the datatypes are variable"
True. Again, row-overflow.

I don't care about the points, but I think some of the options were a little vague.
Or perhaps I'm just wrong :-)
Koen Verbeeck
Koen Verbeeck
SSC Guru
SSC Guru (124K reputation)SSC Guru (124K reputation)SSC Guru (124K reputation)SSC Guru (124K reputation)SSC Guru (124K reputation)SSC Guru (124K reputation)SSC Guru (124K reputation)SSC Guru (124K reputation)

Group: General Forum Members
Points: 124801 Visits: 13344
Nils Gustav Stråbø (5/13/2011)

"-Extents can be owned by only one object"
False, since they can be a mixed extent (or even an extent that has not been allocated). Perhaps it's your use of the word "only" that confuses me, but what I read is "an extent must be owned by one, and only one, object."


The question uses the word can, not must. If an extent can be owned by multiple objects, it can certainly be owned by one object.

Anyway, nice question, but only one point?


How to post forum questions.
Need an answer? No, you need a question.
What’s the deal with Excel & SSIS?
My blog at SQLKover.

MCSE Business Intelligence - Microsoft Data Platform MVP
Chris Houghton
Chris Houghton
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: 1180 Visits: 1715
Good question but the wording was a little ambiguous in my opinion. I learnt something though so I'm not complaining.
Nils Gustav Stråbø
Nils Gustav Stråbø
SSCertifiable
SSCertifiable (5.9K reputation)SSCertifiable (5.9K reputation)SSCertifiable (5.9K reputation)SSCertifiable (5.9K reputation)SSCertifiable (5.9K reputation)SSCertifiable (5.9K reputation)SSCertifiable (5.9K reputation)SSCertifiable (5.9K reputation)

Group: General Forum Members
Points: 5909 Visits: 3575
@Koen, yes I agree that I should not have interpreted the word "can" as "must", but unfortunately I did Sad

But the answer about text data is definitely ambiguous. Based on the "correct" answer it obviously related to the text datatype, not text data in general.
M&M
M&M
SSChampion
SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)

Group: General Forum Members
Points: 10786 Visits: 3917
Good question, I could get 3 options right Smile

M&M
John Mitchell-245523
John Mitchell-245523
SSC Guru
SSC Guru (68K reputation)SSC Guru (68K reputation)SSC Guru (68K reputation)SSC Guru (68K reputation)SSC Guru (68K reputation)SSC Guru (68K reputation)SSC Guru (68K reputation)SSC Guru (68K reputation)

Group: General Forum Members
Points: 68612 Visits: 17533
Koen Verbeeck (5/13/2011)
Nils Gustav Stråbø (5/13/2011)

"-Extents can be owned by only one object"
False, since they can be a mixed extent (or even an extent that has not been allocated). Perhaps it's your use of the word "only" that confuses me, but what I read is "an extent must be owned by one, and only one, object."


The question uses the word can, not must. If an extent can be owned by multiple objects, it can certainly be owned by one object.

Anyway, nice question, but only one point?

I'm with Nils on this. The sentence can be interpreted as "it is only possible for an extent to be owned by one object" or as "it is possible for an extent to be owned by only one object". I went for the former and so got it wrong. But, as has been pointed out, it's the discussion and what you learn that's important, not the points.

John
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