Viewing 15 posts - 48,766 through 48,780 (of 49,571 total)
Then it's definatly a parameter sniffing issue. Can you try another .net experiment please?
First revert back to the old stored proc, without the variables.
This time, instead of passing the...
March 29, 2007 at 5:04 am
Can't see the images, because they're on your machine. Could you paste the differeing lines of the exec plan, as well as the query that you called the .net with?
Thanks
March 29, 2007 at 4:24 am
It could be parameter sniffing. I wouldn't think so if you used the proc in SSMS, but is a possibility.
Can you post the proc, the code you used to call...
March 29, 2007 at 3:14 am
Have a look at the exec plan for both, see what the differences are.
In management studio, just run with the execution plan option on. for the application run one, you...
March 29, 2007 at 12:08 am
Is there enough space on the drive?
Is the drive (or folder) read only or encrypted?
March 27, 2007 at 3:07 am
Are the statistics up to date on both databases? Are the indexes on one more fragmented than on he other?
March 27, 2007 at 1:45 am
I saw your example. Why 3,1,2. why not 2,1,3?
As I said, if you want to have data in a specific order (whatever it may be) you have to specify an...
March 26, 2007 at 4:48 am
What do you mean by 'no order'?
If you want your data back in a specific order, you must specify an order by clause. Otherwise it comes back however the...
March 26, 2007 at 3:30 am
Or maybe what I've seen on a lot of other forums. The text bix to enter the new post is at the top of the page and all the other...
March 23, 2007 at 5:58 am
Try this way indstead. Aside from the divide by zero, it's better for index selection (if you have appropriate indexes)
Select *
from table t
where t.value_a > 10*t.value_b
AND t.value_c...
March 21, 2007 at 11:08 am
Or you can use sys.dm_exec_requests and pass the SQL handle to the sys.dm_exec_sql_text function and get the entire sql statement. (DBCC Inputbuffer only displays the first 255 characters)
select * from...
March 21, 2007 at 5:25 am
That's not ideal either because, at optimisation, the query optimiser can't evaluate the first half of the or. SQL doesn't have short circuit evaluation
The only way I've managed to deal...
March 21, 2007 at 3:46 am
Don't know about the global parameters, I don't think we use them. Our DTS packages are mainly complex data flows.
What we decided to do was to ensure that the people who...
March 20, 2007 at 7:10 am
Not sure if this is addressed to me or not, but I'll answer.
No, we're not using SSIS to exec the DTS packages. We imported the DTS packages as legacy objects...
March 20, 2007 at 6:57 am
Viewing 15 posts - 48,766 through 48,780 (of 49,571 total)