Log in
::
Register
::
Not logged in
Home
Tags
Articles
Editorials
Stairways
Forums
Scripts
Videos
Blogs
QotD
Books
Ask SSC
SQL Jobs
Training
Authors
About us
Contact us
Newsletters
Write for us
Recent Posts
Recent Posts
Popular Topics
Popular Topics
Home
Search
Members
Calendar
Who's On
Home
»
Article Discussions
»
Article Discussions by Author
»
Discuss content posted by bitbucket
»
View - 8
31 posts, Page 1 of 4
1
2
3
4
»
»»
View - 8
Rate Topic
Display Mode
Topic Options
Author
Message
bitbucket-25253
bitbucket-25253
Posted Saturday, October 06, 2012 2:21 PM
SSCertifiable
Group: General Forum Members
Last Login: Yesterday @ 9:12 PM
Points: 5,103,
Visits: 20,208
Comments posted to this topic are about the item
View - 8
If everything seems to be going well, you have obviously overlooked something.
Ron
Please help us, help you -before posting a question please
read
Before posting a performance problem please
read
Post #1369461
asifkareem
asifkareem
Posted Saturday, October 06, 2012 2:28 PM
SSChasing Mays
Group: General Forum Members
Last Login: Monday, May 20, 2013 3:07 PM
Points: 606,
Visits: 136
Good and Easy Question +1.
Thanks
Post #1369462
L' Eomot Inversé
L' Eomot Inversé
Posted Saturday, October 06, 2012 6:17 PM
SSCertifiable
Group: General Forum Members
Last Login: Today @ 3:12 AM
Points: 7,106,
Visits: 7,171
It's a question with a correct answer, no scope for argument for that (as I have come to expect from Ron's questions, which seem to be always accurate - unlike mine, or indeed pretty well anyone elses), so in that respect it's a good question.
But all those settings up front are just a red herring - completely irrelevant to the question. It's not a trick question, because it's extremely unlikely that anyone thinks that those settings could have any effect on the answer. Nevertheless, I think that that stuff detracts from the quality of the question; it might leave someone wondering if there were some setting (not one of those listed) that could have affected the answer, which would be unfortunate.
But never mind, maybe I should like it anyway, because there's nothing actually wrong with it and I got it right.
BTW, it's another Monday question released rather early, of course. Is "dbcc timewarp" somehow involved? Should I be able to answer Monday's question in the small hours of the preceeding Sunday?
Tom
Que conclure à la fin de tous mes longs propos? C'est que les préjugés sont la raison des sots. (Voltaire, 1756)
Post #1369485
bitbucket-25253
bitbucket-25253
Posted Sunday, October 07, 2012 8:51 PM
SSCertifiable
Group: General Forum Members
Last Login: Yesterday @ 9:12 PM
Points: 5,103,
Visits: 20,208
L' Eomot Inversé
It's a question with a correct answer, no scope for argument for that (as I have come to expect from Ron's questions, which seem to be always accurate - unlike mine, or indeed pretty well anyone elses), so in that respect it's a good question.
And I thank you for the compliment ... so often the comments are far, far away from being complimentary. Let us see how it developes as more answer and comment.
If everything seems to be going well, you have obviously overlooked something.
Ron
Please help us, help you -before posting a question please
read
Before posting a performance problem please
read
Post #1369604
demonfox
demonfox
Posted Sunday, October 07, 2012 10:11 PM
Ten Centuries
Group: General Forum Members
Last Login: Saturday, May 18, 2013 6:46 PM
Points: 1,074,
Visits: 1,076
good question..
nice and easy ..
Thanks
~ demonfox
___________________________________________________________________
Wondering what I would do next , when I am done with this one
Post #1369610
Lokesh Vij
Lokesh Vij
Posted Sunday, October 07, 2012 10:43 PM
Ten Centuries
Group: General Forum Members
Last Login: Yesterday @ 8:24 AM
Points: 1,176,
Visits: 1,253
L' Eomot Inversé (10/6/2012)
It's a question with a correct answer, no scope for argument for that (as I have come to expect from Ron's questions, which seem to be always accurate - unlike mine, or indeed pretty well anyone elses), so in that respect it's a good question.
I must agree in accord. Many a times when I post a question, either there is some anomaly in the question or there is something wrong with the way I explain the answer of that question.
Ron's questions are often to the point and accurate. Keep it up. It's a learning for people like me
~ Lokesh Vij
Guidelines for quicker answers on T-SQL question
Guidelines for answers on Performance questions
Link to my Blog Post -->
www.SQLPathy.com
Follow me
@Twitter
Post #1369613
Lokesh Vij
Lokesh Vij
Posted Sunday, October 07, 2012 10:50 PM
Ten Centuries
Group: General Forum Members
Last Login: Yesterday @ 8:24 AM
Points: 1,176,
Visits: 1,253
L' Eomot Inversé (10/6/2012)
But all those settings up front are just a red herring - completely irrelevant to the question. It's not a trick question, because it's extremely unlikely that anyone thinks that those settings could have any effect on the answer. Nevertheless, I think that that stuff detracts from the quality of the question; it might leave someone wondering if there were some setting (not one of those listed) that could have affected the answer, which would be unfortunate.
Those couple of SET options seems to be red-herring, but they are pretty much in-line with BOL text. Here is the excerpt taken from BOL (link mentioned by Ron)
The following steps are required to create an indexed view and are critical to the successful implementation of the indexed view:
1. Verify the SET options are correct for all existing tables that will be referenced in the view.
2. Verify the SET options for the session are set correctly before creating any new tables and the view.
~ Lokesh Vij
Guidelines for quicker answers on T-SQL question
Guidelines for answers on Performance questions
Link to my Blog Post -->
www.SQLPathy.com
Follow me
@Twitter
Post #1369615
Hugo Kornelis
Hugo Kornelis
Posted Monday, October 08, 2012 12:52 AM
SSCertifiable
Group: General Forum Members
Last Login: Today @ 3:22 AM
Points: 5,244,
Visits: 7,059
I really liked the question. Unlike Tom, I even liked the inclusion of all the settings, and I don't think it's a red herring. This question is about knowing all the requirements for indexing a view, and the only way to test that is to use questions that either get all the requirements right, or all except one.
And if this results in people reading Books Online to check all the required SET options, then I would argue that this is a good thing. (Not that I think that anyone should know these requirements by head - but people should know the requirements exist, and know where to find them documented).
Hugo Kornelis, SQL Server MVP
Visit my SQL Server blog:
http://sqlblog.com/blogs/hugo_kornelis
Post #1369631
arthurolcot
arthurolcot
Posted Monday, October 08, 2012 1:41 AM
SSCommitted
Group: General Forum Members
Last Login: Monday, May 20, 2013 9:04 AM
Points: 1,722,
Visits: 1,404
Very good + clear question. thanks... nice way to start the week.
Post #1369647
Koen Verbeeck
Koen Verbeeck
Posted Monday, October 08, 2012 2:33 AM
SSCrazy Eights
Group: General Forum Members
Last Login: Today @ 2:11 AM
Points: 9,378,
Visits: 6,473
Great question Ron, thanks!
Another thing that might lead to the create index statement to fail:
it's not sure the base table has been created with ANSI_NULLS set to ON.
How to post forum questions.
Need an answer? No, you need a question.
What’s the deal with Excel & SSIS?
Member of
LinkedIn
. My blog at
LessThanDot
.
MCSA SQL Server 2012 - MCSE Business Intelligence
Post #1369667
« Prev Topic
|
Next Topic »
31 posts, Page 1 of 4
1
2
3
4
»
»»
Permissions
You
cannot
post new topics.
You
cannot
post topic replies.
You
cannot
post new polls.
You
cannot
post replies to polls.
You
cannot
edit your own topics.
You
cannot
delete your own topics.
You
cannot
edit other topics.
You
cannot
delete other topics.
You
cannot
edit your own posts.
You
cannot
edit other posts.
You
cannot
delete your own posts.
You
cannot
delete other posts.
You
cannot
post events.
You
cannot
edit your own events.
You
cannot
edit other events.
You
cannot
delete your own events.
You
cannot
delete other events.
You
cannot
send private messages.
You
cannot
send emails.
You
may
read topics.
You
cannot
rate topics.
You
cannot
vote within polls.
You
cannot
upload attachments.
You
may
download attachments.
You
cannot
post HTML code.
You
cannot
edit HTML code.
You
cannot
post IFCode.
You
cannot
post JavaScript.
You
cannot
post EmotIcons.
You
cannot
post or upload images.
Copyright © 2002-2013 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use.
Report Abuse.