Viewing 15 posts - 6,916 through 6,930 (of 7,608 total)
CDC requires a unique index. That makes sense given what it has to be able to do.
I think by default it uses the PK as the unique index, but...
January 14, 2013 at 3:39 pm
If the log is on the same drive, don't purge any data until you've given the log more space!
If the log is out of space, and particularly if it getting...
January 14, 2013 at 3:20 pm
Any chance that either or both "TransferToCostCenter" and "TransferFromCostCenter" are NULL?
Not equal won't work on NULL; you'll have to explicitly allow for NULL in the comparison.
For example:
WHERE ...
...
January 14, 2013 at 12:33 pm
If the computation "size / 1024 / 1024" yielded 96 gbsize,
the correct computation of "size / 128 / 1024" would yield 8 times that, or:
~768gb
January 14, 2013 at 12:26 pm
size /1024 / 1024 AS gbsize
That is not the right computation to get gb. "size" is the number/count of 8K pages. So, to get gb from size, you...
January 14, 2013 at 12:23 pm
The person's login id is often some combination of last name and first name, so you need to change the name there.
However, internally you should assign each person/user a unique...
January 13, 2013 at 11:48 am
You can definitely shrink the log file "live". SQL simply won't do it if it would cause a loss of data.
The tricky part is finding the right size to...
January 11, 2013 at 3:55 pm
And you often need to compare for a full day against a legitimate datetime column.
For example, in a logging table, you would have logging datetime -- obviously you would want...
January 11, 2013 at 1:24 pm
When the potential-trouble step starts, it could immediately start another job. A job start is async so it would not delay the first process. The extra job...
January 11, 2013 at 11:22 am
Excellent article overall.
These are extremely difficult concepts to introduce to people, and the article does a superb job of making the ideas accessible to anyone.
[I do think Alice should have...
January 11, 2013 at 8:45 am
Steven Willis (1/10/2013)
ScottPletcher (1/10/2013)
dwain.c (1/9/2013)
Steven - Those FUNCTIONs look like nice work. I've saved them off for future analysis. 🙂
You might want to review the new functions in SQL...
January 10, 2013 at 2:57 pm
dwain.c (1/9/2013)
Steven - Those FUNCTIONs look like nice work. I've saved them off for future analysis. 🙂
You might want to review the new functions in SQL 2012 dealing with...
January 10, 2013 at 1:51 pm
Bhuvnesh (1/9/2013)
ScottPletcher (1/9/2013)
the cursor should be optimized with FAST_FORWARD:Any article reference for this ?
Books Online.
January 10, 2013 at 8:29 am
Jeff Moden (1/9/2013)
ScottPletcher (1/9/2013)
Don't automatically assume the PK makes the best, or even a good, clustered index, in particular if the PK is an identity column.
Considering that the IDENTITY column...
January 10, 2013 at 8:28 am
GilaMonster (1/7/2013)
ScottPletcher (1/7/2013)
Fewest rows? The number of rows that match all the criteria will be the same regardless of the index used, right?
Match all criteria, yes. What I was...
January 9, 2013 at 4:13 pm
Viewing 15 posts - 6,916 through 6,930 (of 7,608 total)