Viewing 15 posts - 2,821 through 2,835 (of 9,643 total)
Are you getting any errors?
Can you post the code for the function?
Have you tried doing a print or select of @SQLStr and then run that? I'm guessing you need...
September 20, 2010 at 2:34 pm
Doesn't appear that you can. You would need to apply the MAXDOP to the query referencing the view.
September 20, 2010 at 2:25 pm
For problem 1 see this blog post by Kalen Delaney.
For problem 2 you are out of luck. Triggers fire as part of the original transaction and any error or...
September 20, 2010 at 2:14 pm
Here's a query that will find it:
With cteObjectTypes AS
(
SELECT
TSV.trace_event_id,
TSV.subclass_name,
TSV.subclass_value
FROM
sys.trace_subclass_values AS TSV JOIN
sys.trace_columns AS TC ON
TSV.trace_column_id = TC.trace_column_id
WHERE
TC.[name] = 'ObjectType'
),
cteEventSubClasses AS
(
SELECT
TSV.trace_event_id,
TSV.subclass_name,
TSV.subclass_value
FROM
sys.trace_subclass_values AS TSV JOIN
sys.trace_columns AS TC ON
TSV.trace_column_id = TC.trace_column_id
WHERE
TC.[name]...
September 20, 2010 at 1:46 pm
While all those are good suggestions, I suggest checking out Glenn Berry's blog post here, where he shares his diagnostic queries which includes one on wait stats
September 20, 2010 at 1:35 pm
Bhuvnesh is correct in saying that you should not just blindly implement these indexes. You need to know which indexes you currently have that are not being used and...
September 20, 2010 at 1:28 pm
PavanKK (9/20/2010)
As we are on the way to cleaning Production server, we need to find out the last usage date of each database. sothat we can clean the databases...
September 20, 2010 at 1:17 pm
Check out this blog post, http://wiseman-wiseguy.blogspot.com/2008/08/ssis-error-logging-custom-component.html. I wrote a custom error handling component where I turn some of the error information into XML. I also reference another custom...
September 20, 2010 at 1:07 pm
What is the problem you are trying to solve by directly killing a process?
As Gail has asked is this process listed in sysprocesses?
September 20, 2010 at 1:00 pm
Alvin Ramard (9/20/2010)
Steve Jones - Editor (9/20/2010)
Fortunately our new hardware...
September 20, 2010 at 8:23 am
Anyone else do scrum? I'm in a sprint planning meeting and the goal today is to just pick stories and NOT design. We have a couple of people...
September 20, 2010 at 7:09 am
Stefan Krzywicki (9/18/2010)
Jack Corbett (9/18/2010)
September 18, 2010 at 10:31 am
Stefan Krzywicki (9/17/2010)
Craig Farrell (9/17/2010)
CirquedeSQLeil (9/17/2010)
Brandie Tarvin (9/17/2010)
Trey Staker (9/17/2010)
CirquedeSQLeil (9/17/2010)
Just curious if anybody here has ever walked out of an interview...What would be your justifications for doing so?
I've never...
September 18, 2010 at 10:12 am
One of my first tasks in IT was to replace the 100 page green bar reports coming form our AS400 daily with web-based reports that presented the summary data (w/...
September 17, 2010 at 6:01 am
CirquedeSQLeil (9/16/2010)
Stefan Krzywicki (9/16/2010)
Luke L (9/16/2010)
CirquedeSQLeil (9/16/2010)
Luke L (9/16/2010)
Alvin Ramard (9/16/2010)
September 16, 2010 at 11:52 am
Viewing 15 posts - 2,821 through 2,835 (of 9,643 total)