Forum Replies Created

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

  • RE: SQL Server 2005 upgrade changes column order of tables.

    Jeff Moden (2/2/2009)


    rich.ramos (2/2/2009)


    The PeopleTools upgrade would not affect the field order of custom records. And the column order does not affect the way the PeopleSoft application interacts with...

  • RE: Improve query perf

    Third post was the only idea I could give you without the entire query.

  • RE: Poor Query

    It would be, my hope, that the join between the two "tables" would occur on the linked server instead of the linking server.

  • RE: Poor Query

    As I said earlier, don't be surprised if it is pulling the entire data set over to your server and then performing the join locally on the server with the...

  • 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,...

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