Viewing 15 posts - 31 through 45 (of 52 total)
I'll try and get the execution plan.
How does this look as a replacement;
CREATE PROCEDURE [dbo].[NIC_Main_SessionDB_SaveSession]
-- Add the parameters for the stored procedure here
@ID BIGINT,
...
September 13, 2011 at 10:17 am
Thanks for the replies. I think the overall design is terrible but likely the best I could do is try to improve the execution of the SP. Remember...
September 13, 2011 at 9:59 am
If anyone has a code example that would generate this command I would love to see it.
Thanks!
June 2, 2011 at 3:30 am
This is just the back end of a web application. I had read somewhere that this was the result of a command.parameters command in a .net application. Where...
June 1, 2011 at 6:15 pm
This is exactly the answer I was hoping for. I plan on trying this out during off hours this week. Thanks for your response!
February 23, 2011 at 8:56 am
Thanks for all the info. We actually do run most of our SQL instances on VMWare. This instance is quite sensitive thus we following the vendors recommendation of...
October 20, 2010 at 10:21 am
Do you think there is a significant performance impact on the principle server?
October 20, 2010 at 8:09 am
Thanks for all the great advice. Definitely have some solid direction now!
September 30, 2010 at 11:48 am
Thanks Micheal! I thought I had to do the conversion but I understand now.
September 30, 2010 at 11:32 am
Sorry to confuse you - yes both are the same. I'm changing between environments and even confusing myself. Thanks!
September 30, 2010 at 11:22 am
Micheal that doesn't work for me because the column is a datetime column so I need a conversion to get only the date, unless I'm missing something?
IE the date is...
September 30, 2010 at 10:46 am
Thanks Grant,
I do understand that and the fact is in some cases we'll have to do a full scan. Do you think that storing the message in a separate...
September 30, 2010 at 9:56 am
I'm not trying to hide the query (I just didn't think it would help) - so here it is;
SELECT
b.sending_app,
b.service_name,
b.event_time,
b.message_type,
b.receiving_app,
b.direction
FROM [Message_Journal].[dbo].[Journal] b
WHERE CONVERT(DATETIME,LEFT(CONVERT(VARCHAR, b.event_time, 120),10)) >= '20100901'
AND...
September 30, 2010 at 8:57 am
There is no primary key.
There are non-clustered indexes on uuid, service_name, event_time,last_name and personid.
Basically any report that causes a full table scan takes a long time (around an hour last...
September 30, 2010 at 6:21 am
Viewing 15 posts - 31 through 45 (of 52 total)