Viewing 15 posts - 44,686 through 44,700 (of 49,571 total)
Vika (9/5/2008)
September 5, 2008 at 9:54 am
Glen (9/5/2008)
And shouldn't the variation of "100 ms" in execution be random ?
In the test I posted the variations were indeed completely random. I'll test later with a couple of...
September 5, 2008 at 9:54 am
You can load the traces into a SQL table (profiler -> save to table or fn_trace_gettable) and then you can query them in SQL. Easier than analysing in profiler.
September 5, 2008 at 12:51 am
Database corruption. Do you have an up-to-date backup?
Please run the following and post the output.
DBCC CHECKDB ( < Database name > ) WITH NO_INFOMSGS
September 5, 2008 at 12:45 am
Depends. TempDB's used for checking indexed views as well. Probably other things too.
September 5, 2008 at 12:18 am
Ummmm.....
Which of these inserts is throwing the error? (in management studio, if you double click the error in the results pane, it will take you to the line in question)
What...
September 5, 2008 at 12:12 am
Honestly, in my opinion, if you do your job right on the SQL syntax, DB design and indexing a NOLOCK statement shouldn't be necessary in any environment.
If you're encountering severe...
September 4, 2008 at 2:17 pm
Glen (9/4/2008)
would it be then proper to consider that on a table with search on an unindexed column the
'WHERE @param = something or field = @param" and
"WHERE field = @param...
September 4, 2008 at 1:31 pm
List all but the one or two columns you don't want. Even when you do want all the columns it's better to specify the names explicitly. The table may get...
September 4, 2008 at 1:03 pm
Grant Fritchey (9/4/2008)
Look at the graphical execution plan, they said. It's all index seeks and nested loop joins...
I had a dev that wanted to use the LOOP hint...
September 4, 2008 at 12:44 pm
It can 'short-circuit' but not on the basis of where the expressions are in the where clause, rather which indexes are used and which expressions those indexes can 'evaluate'
If we...
September 4, 2008 at 12:40 pm
Glen (9/4/2008)
Can you try changing the order in your WHERE clause to 'WHERE (@num1 = 0 or colOne = @num1)'?
Won't make a difference. Order of clauses in the WHERE are...
September 4, 2008 at 11:40 am
Depends. Does you app need/use 48 GB of TempDB? If yes, then it's not too much.
48GB isn't large for a DB.
You can start out with just 4 files and then...
September 4, 2008 at 11:24 am
If you know that a set of tables are static and hence locks are an unnecessary overhead, then put those tables into a separate filegroup and mark that filegroup as...
September 4, 2008 at 10:05 am
Viewing 15 posts - 44,686 through 44,700 (of 49,571 total)