Viewing 15 posts - 106 through 120 (of 215 total)
Gail,
Yes running the proc in QA would give me the execution plan - would that be the same displaying the estimated execution plan (CTRL L)? Running the proc might...
December 12, 2007 at 2:14 am
Very nice but it's not the answer to the question.
Jez
December 11, 2007 at 5:46 am
table variable vs #table- possible but you cannot create an index on a table variable.
But the question remains - should I extract the records I need from a...
November 19, 2007 at 6:57 am
This type of problem is usually caused by either mapping or permissions.
When you run the DTS package through EM it runs from your local machine so any drive mappings are...
November 15, 2007 at 7:32 am
Have a look at http://sqlblogcasts.com/blogs/antxxxx/archive/2006/11/30/script-to-find-out-what-a-spid-is-doing.aspx
Having got the spid from sp_who2, you can call the code from this webiste - the last select returns the T-SQL statement that is currently running.
Jez
November 15, 2007 at 3:14 am
Have you had a look at sp_who2? This give the amount of CPU time for a given process.
You could write a proc to put the results into a temp...
November 14, 2007 at 9:25 am
No. You can only do this by having a job that runs (say every 5 minutes) to send the emails or execute other batch proceses.
Jez
November 14, 2007 at 9:22 am
You cannot use a # temporary table - the table would be created in one object but dropped when DTS moves onto the next object as the connection is broken...
November 13, 2007 at 7:54 am
Why would the collations be different given that the database on the test server is a restore of the live database?
Jez
November 13, 2007 at 5:14 am
We already have WITH RECOMPILE in the procs and it seemed to make no difference. That's why I made the other changes.
Our processing sometimes involves a few thousand rows...
November 13, 2007 at 4:50 am
Have a look at xp_sendmail in Books on Line.
Jez
November 13, 2007 at 3:39 am
Andrew has hit the nail on the head.
I have amended the procs so that they use temporary (#) tables and local variables rather than the parameters passed into the proc...
November 13, 2007 at 3:35 am
Jeff,
The database on the test server is a restore of live so the tables will have the same rowcount, the indexes are identical and the triggers (one to update the...
November 12, 2007 at 2:27 am
We've tried running profiler but not had much sucess (no real experience as to what to record).
We have run sp_who2 and it was the only process running on the box...
November 9, 2007 at 10:05 am
I'm not a server engineer so all of that is over my head. I cannot believe that it is something wrong with SQL Server as we have the same...
November 9, 2007 at 6:31 am
Viewing 15 posts - 106 through 120 (of 215 total)