August 27, 2013 at 7:25 am
Koen Verbeeck (8/21/2013)
In the category of "Are the posted answers getting worse?"http://www.sqlservercentral.com/Forums/Topic1485861-1063-1.aspx
From now on I shall answers questions in the following manner:
"I have no flipping clue. Please post the solution once you found it."
It will save me a whole bunch of time!
😀
Why in heavens name would anyone want to do something like this?
August 27, 2013 at 7:27 am
Lynn Pettis (8/26/2013)
Jack Corbett (8/26/2013)
GilaMonster (8/26/2013)
One more added - Indexes with a leading bit column are uselessI'll probably attend just for this one. I would currently argue that you'd be better off leading with the other key columns in order to see the index get used more often and adding the bit column later in the index, or if your most common queries where bitColumn = 1 having a filtered index with the other key columns and a filter on the bit column. As always I'm sure I'll be proved incorrect in your session, but I'm definitely interested in learning the why.
Had an index like that on several tables at a previous employer. The bit flag indicated if a row was historical or current. Most queries against this table were for current data which was less than 10% of the total data. Was a very useful index to have, especially on a SQL Server 2000 system.
In our datawarehouse, we used views for current record only.
Although on most files, updates were more the exception.
The use of the view was easier for user queries, as they didn't have to remember to select the current record.
August 27, 2013 at 7:29 am
Brandie Tarvin (8/27/2013)
Koen Verbeeck (8/21/2013)
In the category of "Are the posted answers getting worse?"http://www.sqlservercentral.com/Forums/Topic1485861-1063-1.aspx
From now on I shall answers questions in the following manner:
"I have no flipping clue. Please post the solution once you found it."
It will save me a whole bunch of time!
😀
Why in heavens name would anyone want to do something like this?
You mean the original question or posting a response like that? If you mean the response, it is likely because they want to know if there's an answer, but don't know how to subscribe to a topic without replying.
--------------------------------------
When you encounter a problem, if the solution isn't readily evident go back to the start and check your assumptions.
--------------------------------------
It’s unpleasantly like being drunk.
What’s so unpleasant about being drunk?
You ask a glass of water. -- Douglas Adams
August 27, 2013 at 7:34 am
Brandie Tarvin (8/27/2013)
Koen Verbeeck (8/21/2013)
In the category of "Are the posted answers getting worse?"http://www.sqlservercentral.com/Forums/Topic1485861-1063-1.aspx
From now on I shall answers questions in the following manner:
"I have no flipping clue. Please post the solution once you found it."
It will save me a whole bunch of time!
😀
Why in heavens name would anyone want to do something like this?
I stopped asking myself the "why?" a long long time ago 😀
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP
August 27, 2013 at 7:35 am
Stefan Krzywicki (8/27/2013)
Brandie Tarvin (8/27/2013)
Koen Verbeeck (8/21/2013)
In the category of "Are the posted answers getting worse?"http://www.sqlservercentral.com/Forums/Topic1485861-1063-1.aspx
From now on I shall answers questions in the following manner:
"I have no flipping clue. Please post the solution once you found it."
It will save me a whole bunch of time!
😀
Why in heavens name would anyone want to do something like this?
You mean the original question or posting a response like that? If you mean the response, it is likely because they want to know if there's an answer, but don't know how to subscribe to a topic without replying.
The original question, actually. A different Excel sheet for each record? Ouch.
BTW, I survived (barely) GenCon. Hello. How is everyone doing?
And... y'all are weird. Just saying. @=)
August 27, 2013 at 7:42 am
BTW, I'm having a contest over on my blog. If you're interested in a free PDF of the Shadowrun Fifth Edition rules, stop on by and log a comment.
August 27, 2013 at 7:49 am
Brandie Tarvin (8/27/2013)
Stefan Krzywicki (8/27/2013)
Brandie Tarvin (8/27/2013)
Koen Verbeeck (8/21/2013)
In the category of "Are the posted answers getting worse?"http://www.sqlservercentral.com/Forums/Topic1485861-1063-1.aspx
From now on I shall answers questions in the following manner:
"I have no flipping clue. Please post the solution once you found it."
It will save me a whole bunch of time!
😀
Why in heavens name would anyone want to do something like this?
You mean the original question or posting a response like that? If you mean the response, it is likely because they want to know if there's an answer, but don't know how to subscribe to a topic without replying.
The original question, actually. A different Excel sheet for each record? Ouch.
BTW, I survived (barely) GenCon. Hello. How is everyone doing?
And... y'all are weird. Just saying. @=)
Yeah, that does seem questionable.
How was GenCon? Have fun or was it a working holiday?
We're headed to WorldCon tomorrow morning.
--------------------------------------
When you encounter a problem, if the solution isn't readily evident go back to the start and check your assumptions.
--------------------------------------
It’s unpleasantly like being drunk.
What’s so unpleasant about being drunk?
You ask a glass of water. -- Douglas Adams
August 27, 2013 at 7:59 am
GenCon was a working vacation. I worked 3 eight hour shifts in the Catalyst Game Labs booth, helping run the Shadowrun Experience (the interactive demo of our fifth edition rules). People had lots of fun and by Saturday, our entire day's groups had all been filled up an hour & 1/2 after the dealer's room opened.
August 27, 2013 at 8:03 am
Brandie Tarvin (8/27/2013)
GenCon was a working vacation. I worked 3 eight hour shifts in the Catalyst Game Labs booth, helping run the Shadowrun Experience (the interactive demo of our fifth edition rules). People had lots of fun and by Saturday, our entire day's groups had all been filled up an hour & 1/2 after the dealer's room opened.
That's great! I've always liked the feel of Shadowrun. Several good gaming systems there. (Card & RPG)
--------------------------------------
When you encounter a problem, if the solution isn't readily evident go back to the start and check your assumptions.
--------------------------------------
It’s unpleasantly like being drunk.
What’s so unpleasant about being drunk?
You ask a glass of water. -- Douglas Adams
August 27, 2013 at 8:59 am
Paul White (8/26/2013)
Jack Corbett (8/26/2013)
I would currently argue that you'd be better off leading with the other key columns in order to see the index get used more often and adding the bit column later in the index, or if your most common queries where bitColumn = 1 having a filtered index with the other key columns and a filter on the bit column.Having an index with a leading bit column is certainly pretty "useless" from a cardinality estimation point of view. Data-distribution information (the statistics histogram) is only created for the first column in the index key. Placing the bit column later in the index key, but before any columns used in inequality tests is a reasonable fix for that, and might be more generally useful, as you say..
A filtered index is also an option, though they can be a bit of a double-edged sword. Having the filtering columns in the keys means Halloween Protection might be needed more often; having a filter on a column that is not in the keys can cause incorrect results and/or suboptimal query plans. There again, just using a filtered index at all can also result in suboptimal plans, so the answer isn't simple (how strange! ha ha).
Worse than "useless", we ran into a major problem on a table that suffered a pretty high insert rate. As soon as someone put an index with a bit column as the leading column on the table, the system immediately began having timeouts on all the inserts because of all the splits that began occurring. Even a FILLFACTOR of 70 didn't help but for the first couple of seconds.
--Jeff Moden
Change is inevitable... Change for the better is not.
August 27, 2013 at 11:20 am
Brandie Tarvin (8/27/2013)
GenCon was a working vacation. I worked 3 eight hour shifts in the Catalyst Game Labs booth, helping run the Shadowrun Experience (the interactive demo of our fifth edition rules). People had lots of fun and by Saturday, our entire day's groups had all been filled up an hour & 1/2 after the dealer's room opened.
Dang it Brandie, quit spending my money for me! Now I *really* want to go to GenCon next year!
Mmm, BattleTech, Ogre, Car Wars, $4 hot dogs...
:hehe:
August 27, 2013 at 11:44 am
Stefan Krzywicki (8/27/2013)
Brandie Tarvin (8/27/2013)
GenCon was a working vacation. I worked 3 eight hour shifts in the Catalyst Game Labs booth, helping run the Shadowrun Experience (the interactive demo of our fifth edition rules). People had lots of fun and by Saturday, our entire day's groups had all been filled up an hour & 1/2 after the dealer's room opened.That's great! I've always liked the feel of Shadowrun. Several good gaming systems there. (Card & RPG)
I can't wait until Crossfire comes out. A deck-building team-playing version of Shadowrun.
August 27, 2013 at 11:46 am
jasona.work (8/27/2013)
Brandie Tarvin (8/27/2013)
GenCon was a working vacation. I worked 3 eight hour shifts in the Catalyst Game Labs booth, helping run the Shadowrun Experience (the interactive demo of our fifth edition rules). People had lots of fun and by Saturday, our entire day's groups had all been filled up an hour & 1/2 after the dealer's room opened.Dang it Brandie, quit spending my money for me! Now I *really* want to go to GenCon next year!
Mmm, BattleTech, Ogre, Car Wars, $4 hot dogs...
:hehe:
Hey, the hot dogs aren't that much if you walk over to the mall. @=)
I'm also willing to meet up and jaw with anyone here who ends up at GenCon next year.
August 27, 2013 at 11:56 am
Brandie Tarvin (8/27/2013)
Stefan Krzywicki (8/27/2013)
Brandie Tarvin (8/27/2013)
GenCon was a working vacation. I worked 3 eight hour shifts in the Catalyst Game Labs booth, helping run the Shadowrun Experience (the interactive demo of our fifth edition rules). People had lots of fun and by Saturday, our entire day's groups had all been filled up an hour & 1/2 after the dealer's room opened.That's great! I've always liked the feel of Shadowrun. Several good gaming systems there. (Card & RPG)
I can't wait until Crossfire comes out. A deck-building team-playing version of Shadowrun.
A friend is very addicted to the card game (he keeps stats). He'll be excited about this too.
--------------------------------------
When you encounter a problem, if the solution isn't readily evident go back to the start and check your assumptions.
--------------------------------------
It’s unpleasantly like being drunk.
What’s so unpleasant about being drunk?
You ask a glass of water. -- Douglas Adams
August 28, 2013 at 11:17 am
Can someone please help this poor gentleman deny restore rights to a sysadmin
http://www.sqlservercentral.com/Forums/Topic1489312-359-1.aspx
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
Viewing 15 posts - 41,086 through 41,100 (of 66,712 total)
You must be logged in to reply to this topic. Login to reply