Forum Replies Created

Viewing 6 posts - 31 through 36 (of 36 total)

  • RE: Query slows down during the day

    Hi Matjaz

    The query executes at a similar execution time: 15:55

  • RE: Query slows down during the day

    Guys heres the function:

    CREATE FUNCTION CallSearchL3_2 (@intInstanceID int,@intCustomerID int, @bitShowPersonal bit, @structure int)

    RETURNS TABLE AS

    RETURN

    (

    SELECT

    dbo.Call.intCallID, dbo.Member.vchrMember,

    dbo.Call.vchrConvertedDialledDigits,

    ISNULL(vab.vchrName + ' (' + vab.vchrDestination + ')',

    dbo.Call.vchrDialledLocation)...

  • RE: Query slows down during the day

    Hi PW

    You're correct defraging does occur every weekend so fragmentation has improved.

    I'm still curious about the number of executions and locks is that because of the function use?...

  • RE: Query slows down during the day

    Here are some results from the suggestions, apologies now for the length of the post.

    I have run both a trace and execution plan on the same query.

    Execution Time 1:43

    Trace Results:

    SELECT...

  • RE: Query slows down during the day

    PW, I will look at what you have suggested.

    Jeff, I should have tried to make it clearer, once the query execution time starts to take 10x longer than usual it...

  • RE: Query slows down during the day

    Hi

    Just to add the query is generated from a web application which runs a reporting wizard so the statement below was captured using SQL Profiler.

    Here is the query:

    SELECT count(*) as...

Viewing 6 posts - 31 through 36 (of 36 total)