Viewing 15 posts - 346 through 360 (of 1,170 total)
Hi,
I usually create the #temp tables in the following way:
create table #tmp(
ID int identity(1,1) prmiary key,
col1 data type c1,
col2 data type c2,
...
coln data type cn)
With this the primary key satisfies...
April 21, 2015 at 8:26 am
Good question. Possible but not practical.
April 8, 2015 at 1:41 am
I have modified the CommandExecute stored procedure of Ola so that it makes three tries in order to rebuild. I also set the deadlock priority to "LOW" but that is...
March 31, 2015 at 8:04 am
qur7 (3/31/2015)
When I will do retry, will it start the whole process again , or just starts form the failed index?With Regards,
Ahmed
It will retry the whole process, but have...
March 31, 2015 at 7:57 am
Good question. Also it's a general recommendation to use semi-colons for all statements in t-sql codes. People usually do not always. Thanks.
March 29, 2015 at 3:06 pm
If you're going to play with MAXDOP, the figure I use (based on advice from Adam Machanic) is 1.5*(number of physical cores in a NUMA node).
I'm curious to see that...
March 27, 2015 at 2:20 am
Question's answer is wrong, i.e. the right answer is Yes. There is no point the output file creation/content be depended of the any kind of errors present during job's execution.
March 26, 2015 at 3:41 am
Post the new code here to see what you've tried, and other suggestion may come.
March 24, 2015 at 3:33 pm
In your way you have a DML statement for not already existing DDL - the temp table that have to be created. The sp recompiles and it could slow down...
March 24, 2015 at 2:53 pm
You're inserting directly INTO #temp table, and when in SP you could have problems. Try create the temp table first and then use the insert into #temp(col1,col2, ...,coln) statement....
March 24, 2015 at 2:08 pm
I think statistics is not a topic that could be explained in a stairway, because there is not much to say about it.
This book http://www.sqlservercentral.com/articles/books/94937/ of Grant Fritchey is very...
March 24, 2015 at 1:51 pm
What edition of SQL server are you using?
I run the same job on a standard edition using Ola's scripts and the job often fails but because I'm rebuilding offline and...
March 24, 2015 at 1:45 pm
How are you sure that the high CXPACKET wait type is from the RPCs?
However, you could reduce the high parallelism by increasing the Cost Threshold For Parallelism (e.g. set...
March 24, 2015 at 1:35 pm
TaylorMade (3/24/2015)
March 24, 2015 at 1:17 pm
Some questions for using BREAK and CONTINUE. Good. Functions behave the same as in programming languages.
March 17, 2015 at 1:53 am
Viewing 15 posts - 346 through 360 (of 1,170 total)