Forum Replies Created

Viewing 14 posts - 1 through 15 (of 15 total)

  • RE: Different performance depending on the user

    Sorry to bombard - but if you tryEXECUTE AS [YourFastUserGoesHere] - does it change the performance?

    ________________________________________________________________________________

    Can I ask you a rhetorical question...?
    ________________________________________________________________________________

  • RE: Different performance depending on the user

    Gianluca Sartori (7/7/2011)


    Is resource governor configured?

    Beat me to it 😉 - could you provide the query and the context of the differing users...?

    ________________________________________________________________________________

    Can I ask you a rhetorical question...?
    ________________________________________________________________________________

  • RE: Different performance depending on the user

    Have you tried SET STATISTICS IO ON; and are they the same for each?

    ________________________________________________________________________________

    Can I ask you a rhetorical question...?
    ________________________________________________________________________________

  • RE: SSMS Trama (yes, this is really bugging me)

    Brandie Tarvin (7/7/2011)


    Jeffrey, I know I can change connections after bringing things up, but I tend to have so much going on at once that I don't always remember to...

    ________________________________________________________________________________

    Can I ask you a rhetorical question...?
    ________________________________________________________________________________

  • RE: Different performance depending on the user

    Try running a trace for each user and then compare the results...

    ________________________________________________________________________________

    Can I ask you a rhetorical question...?
    ________________________________________________________________________________

  • RE: how to send attached file in sql server 2008 using mail option

    Is the R drive on the server (or machine) you are running the query from?

    Is it a network drive or share?

    ________________________________________________________________________________

    Can I ask you a rhetorical question...?
    ________________________________________________________________________________

  • RE: help with dupicated values in dimension and facts

    During the ETL process of the particular dimension you could utilise the MERGE function to alleviate these kinds of issues...

    The advice here http://www.sqlservercentral.com/Forums/Topic735049-23-1.aspx may be of assistance...

    Also http://www.sqlservercentral.com/scripts/Common+Table+Expression+(CTE)/62599/

    ________________________________________________________________________________

    Can I ask you a rhetorical question...?
    ________________________________________________________________________________

  • RE: how to send attached file in sql server 2008 using mail option

    http://msdn.microsoft.com/en-us/library/ms190307.aspx

    EXEC msdb.dbo.sp_send_dbmail

    @profile_name = 'AdventureWorks2008R2 Administrator',

    @recipients = 'danw@Adventure-Works.com',

    @query = 'SELECT COUNT(*) FROM AdventureWorks2008R2.Production.WorkOrder

    ...

    ________________________________________________________________________________

    Can I ask you a rhetorical question...?
    ________________________________________________________________________________

  • RE: Migration Issue

    Duplicate post -

    http://www.sqlservercentral.com/Forums/Topic1135045-391-1.aspx

    ________________________________________________________________________________

    Can I ask you a rhetorical question...?
    ________________________________________________________________________________

  • RE: Get an email when a database is Created/Altered/Dropped?

    I second what Elliott has stated and also add that if someone is creating/dropping or altering databases then you should review security and permissions and "nip it in the bud"...

    ________________________________________________________________________________

    Can I ask you a rhetorical question...?
    ________________________________________________________________________________

  • RE: Listing results in a single column

    mtillman-921105 (6/28/2011)


    Ninja's_RGR'us (6/28/2011)


    Here's a sample concat code. Enjoy the little tweaks!

    SELECT

    T.name,

    STUFF((

    SELECT

    ...

    ________________________________________________________________________________

    Can I ask you a rhetorical question...?
    ________________________________________________________________________________

  • RE: Passed My Exam

    Congrats!

    Can I ask - how many questions are there in the exam?

    ________________________________________________________________________________

    Can I ask you a rhetorical question...?
    ________________________________________________________________________________

  • RE: Long Running Queries Data....

    So, my thinking was, if the last_elapsed_time is greater than the avg elapsed time, this would indicate a "long running query" In other words, its greater than the average.

    I would...

    ________________________________________________________________________________

    Can I ask you a rhetorical question...?
    ________________________________________________________________________________

  • RE: How to avoid sending blank reports using Database mail in SQL SERVER 2008

    gsc_dba (6/27/2011)


    You could also circumvent the @varCheck by setting the @tableHTML = your result set when exists = true

    And set @tableHTML to be your "No data available..." when exists...

    ________________________________________________________________________________

    Can I ask you a rhetorical question...?
    ________________________________________________________________________________

Viewing 14 posts - 1 through 15 (of 15 total)