Forum Replies Created

Viewing 15 posts - 5,041 through 5,055 (of 5,678 total)

  • RE: Order by is to slow in a query

    Bruce-12445 (11/8/2010)


    Yes, thanks for that.

    Would these record counts make any difference to your indexing changes:

    select * from dbo.AMS_ASSETREGISTER --66451

    select * from dbo.AMS_CATEGORY--115

    select * from dbo.AMS_FIN_LINK -- 36240

    Bruce

    Need to see the...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: Order by is to slow in a query

    Bruce-12445 (11/8/2010)


    I didn't try the temp table but that works, thanks for that.

    I'll also see if the vendor will allow adding indexes.

    If I use a view I obviously can't...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: Order by is to slow in a query

    Bruce-12445 (11/8/2010)


    oh yeah, the tables belong to an application so I can't change any indexes.

    Then you're relatively screwed.

    You can try dumping it all to a temp table and working it...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: Order by is to slow in a query

    Test system, I hope? If so, try this:

    CREATE INDEX idx_testing_orderby_AMS_CATEGORY ON AMS_Category ( Category_Name, Category_ID)

    if that alone doesn't work, alter your JOIN to INNER JOIN dbo.AMS_CATEGORY c WITH (INDEX(...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: Performance Issue Help needed

    A couple of ideas.

    1) Look to see if its waiting on locks. Specifically when it runs long, see if it's waiting for an exclusive table lock. It might...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: Code of Conduct for Software Maintenance

    I've always been a fan long term products, and have yet to truly understand the need to re-invent the wheel every 3 to 5 years. Some good has come...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: Differential backup is falied everyday at certain time

    Find the drive your main backups are going to on the network, then contact your sysadmins and ask them to see if there's maintenance on those drives at that time.


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: Differential backup is falied everyday at certain time

    The part of that which matters:

    Error: 2010-11-09 08:00:02.97 Code: 0xC002F210 Source: Back Up Database Task Execute SQL Task Description: Executing the query "BACKUP DATABASE [New_kvr] TO DISK = N'E:\Database..." failed...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: Are the posted questions getting worse?

    WayneS (11/8/2010)


    Forget the online text editor... put it into a word document. Steve will convert it.

    NOW you tell me... 😛


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: Differential backups breaking Log shipping

    Diff backup should not break log chain. Have you checked the server logs to determine if something else is doing log backups, or if something is altering the recovery...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: Need to pull data from SQL Server using an intermediate server that does not have SQL Server - Best Approach?

    malik_nagel (11/8/2010)


    Thanks again - but again, we can't use the hosted SQL Server (A) at all. That means no BCP, SSIS, Robocopy, or anything else. All code must...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: Are the posted questions getting worse?

    CirquedeSQLeil (11/8/2010)


    Craig Farrell (11/8/2010)


    Minor derail. I wrote up an article in the editor here that I'm working on. I'm not sure how to give a link or visibility...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: Are the posted questions getting worse?

    Minor derail. I wrote up an article in the editor here that I'm working on. I'm not sure how to give a link or visibility to another for...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: Select Weekend Dates

    Answer: Yes.

    Next Question: How?

    Next Answer: Please post DDL and sample data. See the first link in my signature for more help if you need it.


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

  • RE: Calculate rows in a tabel

    pop up a SSIS package with a single data flow item, then put in your three OLEDB sources and destinations in the flow.

    Define your source and target server in the...


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

Viewing 15 posts - 5,041 through 5,055 (of 5,678 total)