Viewing 15 posts - 2,221 through 2,235 (of 5,394 total)
It means that SQL Server automatically adds a 4 byte system generated uniqueifier to all the duplicate entries in a non-unique clustered index.
The maximum value for the uniqueifier is 4,294,967,296,...
December 29, 2011 at 3:37 am
It highly depends on your expected output, but this should do the trick.
DECLARE @Case2 TABLE (
ID int PRIMARY KEY CLUSTERED,
Other_ID int NOT NULL
)
DECLARE @Notes TABLE (
ID int PRIMARY KEY CLUSTERED,
DisplayTime...
December 29, 2011 at 1:45 am
Could not allocate space for object 'dbo.SORT'
Also, looks like you had a huge sort spilling to tempdb. Could be an indexing issue or stale stats. I would try to investigate...
December 29, 2011 at 1:24 am
The email gets sent only when DBCC failed for at least one database, otherwise it won't send anything.
If you don't like this behaviour, you can change the code to send...
December 29, 2011 at 1:11 am
I would incorporate the trigger code in the procedures if possible.
When you end up with this kind of trigger it's a symptom of a bad relational design. Is refactoring your...
December 28, 2011 at 6:19 am
NOLOCK? :sick:
With RCS enabled writers don't block readers. Is this the kind of concurrency issue you're trying to address?
As far as the dangers is concerned, you could read this: http://www.jimmcleod.net/blog/index.php/2009/08/27/the-potential-dangers-of-the-read-committed-snapshot-isolation-level/
December 28, 2011 at 4:15 am
Disadvantages: if your application was not designed for optimistic locking, RCS could break some of your business logic or lead to incorrect results.
Let me reverse your question for just one...
December 28, 2011 at 3:27 am
You don't need that on SQL Server 2008.
The code checks for the instance version and never runs that branch of code.
You should be okay now.
December 27, 2011 at 10:31 am
My bad.
The code starts with ALTER PROCEDURE maint.dba_rucnCHECKDB ....
Change it to CREATE PROCEDURE
December 27, 2011 at 10:06 am
hmbtx (12/27/2011)
The only reason that I decided to run bwoulfe's code instead of yours is that his already had the code to email the report.
You stated "To get a notification,...
December 27, 2011 at 9:03 am
Richard Warr (12/23/2011)
I wonder if Italians eat Reindeer too? We'd have to get an answer from Venice on that.
I'm from Venice and we don't (usually) eat Reindeer at Christmas.
You can...
December 27, 2011 at 6:22 am
Your best option here is setting up mirroring.
As long as you don't use database snapshots to query the mirror, you don't have to pay for the license.
This applies to physical...
December 27, 2011 at 4:02 am
hmbtx (12/23/2011)
I downloaded the script from http://www.heydba.net/2011/05/get-dbcc-checkdb-output-tool-for-sql-server-2005/ and got it to work in SSMS.
I am running SBS 2011 with SQL Server 2008R2.
However, when I place the scipt in a SQL...
December 27, 2011 at 2:33 am
bwoulfe (12/19/2011)
Gianluca, your script looks very similar to what I've been using the last couple of months. It works awesomely....http://www.heydba.net/2011/05/get-dbcc-checkdb-output-tool-for-sql-server-2005/
The idea behind is very similar. We got to slightly...
December 19, 2011 at 4:03 pm
Viewing 15 posts - 2,221 through 2,235 (of 5,394 total)