Viewing 15 posts - 31 through 45 (of 496 total)
Eirikur Eiriksson (5/4/2015)
The error is that the variable @MB is not used in the dynamic query, it is missing!
😎
Thanks!
May 4, 2015 at 11:27 pm
Found it out: http://www.brentozar.com/archive/2013/01/best-practices-table-partitioning-merging-boundary-points/
February 18, 2015 at 10:40 pm
ALZDBA (1/9/2015)
Never, and I mean NEVER , add fk constraints using the NOCHECK option !!!ref: http://www.scarydba.com/2010/11/22/do-foreign-key-constraints-help-performance/ ( read the comments ! )
This is a replicated database with NOT ALL tables...
January 12, 2015 at 7:55 pm
JeeTee (1/8/2015)
January 8, 2015 at 3:33 pm
JeeTee (1/8/2015)
January 8, 2015 at 3:05 pm
ALZDBA (1/8/2015)
The use of temp objects is fearsome, because - I assume, you'll be dropping and re-creating the DRI in the process. If that...
January 8, 2015 at 2:51 pm
JeeTee (1/8/2015)
January 8, 2015 at 2:49 pm
Arhhhh! I forgot to execute the @s-2 command.
In this case another question: can this be done without using global temp table?
January 7, 2015 at 5:16 pm
quackhandle1975 (11/20/2014)
You can create a file group for each monthly partition, so you would need 36 partitions for 3 years. You can setup an automated job that will...
November 20, 2014 at 11:36 pm
I've also checked the linked server code (below), which had @provider=N'SQLNCLI10' in the definition. I've changed it to @provider=N'SQLNCLI11', same error. Changed it to @provider=N'SQLNCLI12' (sql...
October 29, 2014 at 8:44 pm
I've also found this in the system event log:
The application-specific permission settings do not grant Local Activation permission for the COM Server application with CLSID
{806835AE-FD04-4870-A1E8-D65535358293}
and APPID
{EE4171E6-C37E-4D04-AF4C-8617BC7D4914}
to...
October 29, 2014 at 8:20 pm
Grant Fritchey (10/29/2014)
October 29, 2014 at 7:07 pm
GilaMonster (10/29/2014)
Why do you need to wrap that query in a distributed transaction?Have you checked to see what error DTC is actually throwing?
I don't, this was just for the test....
October 29, 2014 at 7:02 pm
Fixed this by adding the code below. Yet this is a bug in SQL 2014.
$path = "A:MyDB\08_SPs $timestamp.sql"
$word = "ALTER "
$replacement = "GO `r`n ALTER "
$text = get-content $path...
October 15, 2014 at 6:55 pm
Taking the database offline and than back online solved the problem.
July 1, 2014 at 1:34 am
Viewing 15 posts - 31 through 45 (of 496 total)