Forum Replies Created

Viewing 15 posts - 811 through 825 (of 5,843 total)

  • RE: Determining the most populated zip code in a county

    Rod at work (8/16/2016)


    Thank you, Kevin. I agree that looks like it will work. The question I have is, where do I get the data in the first place?

    (Internet connectivity...

  • RE: Query plan analysis

    yujinagata72 (8/16/2016)


    Hi,

    If I get a query plan XML, what kind of information will make it to be considered as a 'bad' plan?

    I can think of the following:

    - PhysicalOp="Clustered Index Scan"

    -...

  • RE: Determining the most populated zip code in a county

    Just slapped this together, but you should be able to get this to work:

    ;with cte as (

    select county, zipcode, count(*) as cnt

    from table

    group by county, zipcode)

    select county, zipcode, cnt, row_number()...

  • RE: SQL Server 2014 not send notification to signal app

    Sorry, I am about to leave for an international trip and probably won't be able to assist effectively. Possible things to look into are:

    1) Permissions. If this is development...

  • RE: SQL Server 2014 not send notification to signal app

    aminsoraya (8/14/2016)


    Hi

    I enabled service broaker and configured my MVC 5 app signalR properly . but when I run the project . and make changes to the table records . nothing...

  • RE: Executing Multiple Threads to Create a Load

    Thanks for the pointer for the tool I wasn't aware of Steve. I like the ability to put your queries in different windows (with different connections even), and some other...

  • RE: Last day of month in a WHERE clause

    I quickly slapped this together. Can someone do some scalability testing for me to see how it stacks up with the other code? Sadly I have to grab a shower...

  • RE: Object Explorer Details & undocumented system stored procedures

    Brandie Tarvin (8/9/2016)


    TheSQLGuru (8/3/2016)


    Brandie Tarvin (8/3/2016)

    I appreciate the suggestion, Eric. But my hands are tied on third party software. We're not allowed to use unapproved stuff. Hence hacking SSMS Object...

  • RE: t-sql 2012 use a trigger

    If you do this with a trigger, you MUST make it asynchronous!! I would either put the necessary information into a simple queue-style table or use SQL Server Service Broker....

  • RE: Query Suddenly Performing Badly

    Correct - TF2371 makes it MUCH more likely you will get stats updates at times when your application(s) don't need the additional burden on the server. 🙂

    Note: I'm saying one...

  • RE: Query Suddenly Performing Badly

    lmarkum (8/5/2016)


    Kevin and Jeff: Thank you both for the time you have spent on this thread.

    I did find 165 indexes that had the NO_RECOMPUTE option on the...

  • RE: Query Suddenly Performing Badly

    Jeff Moden (8/5/2016)

    While this doesn't qualify as the proverbial "monster join" table, it may well be worth your while to divvy it up using "Divide'n'Conquer" methods that store an interim...

  • RE: Query Suddenly Performing Badly

    lmarkum (8/5/2016)


    I am using Ola Hallengren to handle the index and stats maintenance.

    That's GREAT, but it actually doesn't answer the question. 😎

  • RE: Query Suddenly Performing Badly

    Jeff Moden (8/5/2016)


    lmarkum (8/5/2016)


    Jeff Moden (8/5/2016)


    lmarkum (8/5/2016)


    I forgot to mention that in these plans there will be a missing index recommendation on the NewsletterHistory. I don't understand the recommendation...

  • RE: Query Suddenly Performing Badly

    lmarkum (8/5/2016)


    Jeff Moden (8/5/2016)


    lmarkum (8/5/2016)


    I forgot to mention that in these plans there will be a missing index recommendation on the NewsletterHistory. I don't understand the recommendation because the...

Viewing 15 posts - 811 through 825 (of 5,843 total)