Viewing 15 posts - 1,141 through 1,155 (of 1,825 total)
Here's a list of recommended reading for MCM status (although this is 2008)
https://dynamicevents.emeetingsonline.com/emeetings/dynamicevents/290/MCM_SQL2008_Pre-reading_v3.pdf
Read it , understand it , practise it , pass the exam and its as simple as that
January 4, 2010 at 2:27 pm
Not quite 2010 yet , but happy new year to you all...
December 31, 2009 at 12:57 pm
Also in your view ei_tc_doc_wbs_current.
The subquery 'b' , doesnt seem to have any practical use.
The values arent used ?
-- EDIT Scrub that....
It used to get the row with the...
December 31, 2009 at 2:33 am
The estimated row counts differ quite badly from the actual row counts, generally this is a sign of out of date statistics.
There is also a big logical difference in the...
December 31, 2009 at 1:51 am
Try
Begin Transaction
exec MyCallingProcName @Param ="Whatever"
Select 'TransCount',@@TranCount
Commit
Does that work or error ?
December 30, 2009 at 3:06 pm
Have you tried wrapping the insert exec itself in a transaction ?
December 30, 2009 at 2:39 pm
Jeff Moden (12/30/2009)
December 30, 2009 at 1:13 pm
igngua (12/30/2009)
Dave Ballantyne (12/30/2009)
Im guessing here...
Update yourtable set c3 = c3+' dont use'Is that what you mean ?
Yes, but i need to do that for every record in the column.
As...
December 30, 2009 at 12:51 pm
Statistics are used by the optimizer to get the 'fastest' query plan.
Try this link
http://www.developer.com/db/article.php/3622881/Basics-of-Statistics-in-SQL-Server-2005
December 30, 2009 at 12:41 pm
Im guessing here...
Update yourtable set c3 = c3+' dont use'
Is that what you mean ?
December 30, 2009 at 12:36 pm
What do you mean by registry ?
I really dont understand your needs.
December 30, 2009 at 12:16 pm
First off check your statistics are up to date.
Also can you post the execution plans?
December 30, 2009 at 12:14 pm
Something like this ?
with cteBinary
as
(
Select Id,ParentId,ROW_NUMBER() over ( Partition by ParentId order by Id) as SideInt
from #MyBinary
)
select Id,ParentId,case when SideInt = 1 then 'L'...
December 30, 2009 at 7:12 am
Yup, the execution plan is the place to look.
December 30, 2009 at 5:00 am
Remove that function immediately.
Once you get a nicely loaded database performance will be severely impared.
SQL Server has no option but to evaluate the function for each row REGARDLESS of any...
December 30, 2009 at 4:45 am
Viewing 15 posts - 1,141 through 1,155 (of 1,825 total)