Viewing 15 posts - 121 through 135 (of 424 total)
Without being able to profile things, I'd start by putting all logs on SSD since nothing happens in sql server until it gets logged. Move the main data off...
October 13, 2016 at 11:22 am
Not sure if you need the structure or the data; ideally you want both of course. I haven't lost data since a sql server 6.5 bad service pack but...
October 12, 2016 at 1:37 pm
Freaky code! I simply never specify constant strings nor values inline. And I heavily use cast when something is unknown. I would implement a constant with something...
October 3, 2016 at 2:08 pm
Non-unique indexes are never "required" because they don't constrain nor define schemata. Also, I don't think DBAs want job security through babysitting indexing needs; we have more important things...
September 19, 2016 at 6:40 am
If you love heaps as much as I do, you'll be adding the primary key column as an included column for most of your indexes. Many of my queries...
August 12, 2016 at 11:09 am
Top-down design usually results in failure; see any centralized government.
Bottom-up design is used by evolution and in my opinion is a thousand times more intelligent than humans.
The two extremes are...
August 12, 2016 at 5:25 am
Awesome article, thanks!
For the free sql server version limited to 10 GB, Alter becomes a problem. I've gotten into the routine of always copying a table to an empty...
August 9, 2016 at 8:45 am
I believe it would have to do with scoping, default schemas, and different objects showing up depending on who is running the query and which parts of the names are...
June 2, 2016 at 12:05 pm
The original poster asked for a "good" site as opposed to "any" site that one can find on google. Sometimes that can save a person hours of not downloading...
May 25, 2016 at 11:35 am
Glad you could find something useful. They're dated, some being written for 2005. My favorite is the genetic algorithm game and single-handedly making other companies lose valuable DBA...
May 19, 2016 at 1:39 pm
henrik staun poulsen (8/5/2010)
pk is Primary Key
ak is Unique Constraints ??
udx is Unique Index
idx is non unique index
"+" means that the...
May 19, 2016 at 7:00 am
Sure, the TOP clause accepts a parameter, just in case someone wants to make this a table valued function for returning 3, 12, or 300 dates. BTW, I do think...
May 11, 2016 at 2:23 pm
There was no CASE statement in sql server 2005. All my GOTOs jump to the same place. I'm not one to discard any command or specialty tool although...
May 9, 2016 at 1:31 pm
I believe scientists rely on hardware solutions such as radioactive decay detection devices to get true randomness.
I stay away from pseudo random data generation and try to approach real-world distributions....
May 9, 2016 at 8:29 am
Awesome article Daniel! Guys on the leading edge always get bashed by the sheeple detail workers. Personally I can't wait for the Singularity when computers become smart enough...
May 6, 2016 at 7:32 am
Viewing 15 posts - 121 through 135 (of 424 total)