Forum Replies Created

Viewing 15 posts - 22,666 through 22,680 (of 26,486 total)

  • RE: Guest Editorial: And Now; a Recitation

    noeld (2/2/2009)


    Lynn Pettis (2/2/2009)


    GilaMonster (2/2/2009)


    Matt Miller (2/2/2009)


    I'd laugh at that - but I was coding SQL while watching the superbowl yesterday....:)

    Super what?

    Oh, right, the World Cup is the only TRUE...

  • RE: Poor Query

    The change in formating the code may not affect performance. You may want to consider using a view on the linked server and see if that improves performance.

  • RE: Poor Query

    Mike Levan (2/2/2009)


    Lynn

    Do u mind to put your code here as you said.

    What code? My last comment was based solely on observation.

    Your code:

    select M.*

    from DEV1.StatePA.dbo.Revenue as M ,...

  • RE: Help with replacing a char inacolumn

    hmm, interesting. OP has yet to answer questions posted.

  • RE: Improve query perf

    Well, without the entire query it is difficult to know what needs to change to improve it.

  • RE: Poor Query

    Not sure, but it might be trying to pull all the data from each table over to the server you are running the query from before doing the join.

    FYI, I'd...

  • RE: Are the posted questions getting worse?

    Okay, never mind. That wasn't a good test. When you delete your post the count is adjusted. We'd have to have Steve tell us if we'd "lose...

  • RE: Are the posted questions getting worse?

    RBarryYoung (2/1/2009)


    Jeff Moden (1/30/2009)


    Oh, I absolutely agree... when someone said that SSC would have 10-15 million members in 5-10 years, I made the correction that it would have 200 users...

  • RE: Help with replacing a char inacolumn

    Not too difficult. What have you tried so far?

  • RE: Improve query perf

    Change this:

    and (year(FromDt) = ' + @year + ')

    to this:

    and (FromDt >= dateadd(yyyy, cast(' + @year + ' as int) - 1900, 0) and FromDt < dateadd(yyyy, cast(' + @year...

  • RE: Improve query perf

    I also have a ',' at the end of the select that will cause an syntax error due to the 'FROM' clause then being added to the dynamic sql.

    Either that,...

  • RE: Improve query perf

    I think there is a CASE statement missing in the dynamic sql as I have a WHEN but no corresponding CASE.

  • RE: Tutorial/Tips on writing SPs that are fast and upto standards of development

    And you don't have to wait until you are a "Jeff" or "Gail" to write an article. I don't pretend to be at their level and I have written...

  • RE: Not able to Loghsip for MOM onepoint database

    As asked before, what is the recovery model for the MOM onepoint database?

  • RE: Guest Editorial: And Now; a Recitation

    GilaMonster (2/2/2009)


    Matt Miller (2/2/2009)


    I'd laugh at that - but I was coding SQL while watching the superbowl yesterday....:)

    Super what?

    Oh, right, the World Cup is the only TRUE World Champsionship Game.

    :w00t:

Viewing 15 posts - 22,666 through 22,680 (of 26,486 total)