742 reputation
614
bio website
location
age
visits member for 3 years, 1 month
seen Apr 20 at 3:25

Aug
12
revised Is there a performance benefit to placing transaction log files on a separate drive?
deleted 2 characters in body
Aug
7
comment Filtering data ordered by rowversion
How does the date field fit in? Can a row with a particular ID and Date be updated in the table? And if so, is the date also updated (like an additional timestamp?)
Aug
2
comment How to break out of error loop in transactional replication?
I agree. For the future, I've modified the replication procedures so the error is logged. But the agent's attempt to "keep trying" seems like the equivalent of a service broker poison message. I don't see what is gained from not stopping the service.
Aug
2
answered How to break out of error loop in transactional replication?
Aug
1
asked How to break out of error loop in transactional replication?
Jul
23
revised SQL Server has encountered 1 occurrence(s) of cachestore flush
added 4 characters in body
Jul
23
answered SQL Server has encountered 1 occurrence(s) of cachestore flush
Jul
11
answered Reorganize Indexes T-SQL
Jun
29
accepted How does SQL Server choose an index key for a foreign key reference?
Jun
29
revised How does SQL Server choose an index key for a foreign key reference?
deleted 36 characters in body
Jun
29
comment How does SQL Server choose an index key for a foreign key reference?
@AaronBertrand: here's why I was asking if it was a bug: on SQL Server 2005, the behavior always chooses the primary key. On 2008, it chooses the primary key the first time if the primary key if the primary key is clustered. The behavior appears consistent, which is why it seems weird. But from what you're saying, it sounds like nobody but the programmers will ever know.
Jun
29
comment How does SQL Server choose an index key for a foreign key reference?
It makes sense...but the behavior is only on SQL Server 2008 R2 (not 2005, it's a complicated mess how I know all this), so I'm still leaning towards "potential bug."
Jun
29
comment How does SQL Server choose an index key for a foreign key reference?
I may not be understanding, but if I create primary key on the table as a clustered index in the example above, it will not use the duplicate index key as a reference (and the duplicate can be deleted). This appears to be related to it being a heap first...
Jun
29
asked How does SQL Server choose an index key for a foreign key reference?
Jun
26
comment How to log error details when using using try/catch for dynamic SQL backup commands
You may want to see this: stackoverflow.com/questions/5966670/…
Jun
24
awarded  Commentator
Jun
24
comment How can I check the integrity of disabled foreign key relationships for each individual table? (SQL Server 2008)
Will your tables have primary keys or unique keys that you can use as references for the foreign keys? You won't be able to build these disabled foreign keys (in your example) without them.
Jun
16
awarded  Quorum
Jun
16
revised How to efficiently check EXISTS on multiple columns?
deleted 8 characters in body
Jun
16
answered How to efficiently check EXISTS on multiple columns?