Forum Replies Created

Viewing 15 posts - 36,286 through 36,300 (of 49,562 total)

  • RE: Looping

    Or you can take a substring.

    Look up LEFT and SUBSTRING in SQL's books online.

  • RE: Afraid of Help

    Elliott W (10/15/2009)


    The training thing is so screwed up I don't know where to start.. It is one thing to say pay for the training yourself, but entirely another...

  • RE: Wait Time Numbers not adding up

    Fraggle-805517 (10/15/2009)


    Any thoughts on how to go about figuring out what is causing those?

    Sub-optimal queries

    Poor row estimates by the optimiser.

    Use sys.dm_exec_requests to look for queries prone to CXPacket waits...

  • RE: Wait Time Numbers not adding up

    Fraggle-805517 (10/15/2009)


    The ol' magic 8 ball.

    So 8 processor cores? No hyperthreading?

    7,086,376.171/8 = 885422.02 -- wait time is cumulative over all processors, so divide by 8 to get actual time....

  • RE: Failed BackUp

    Bill Mosca (10/15/2009)


    I guess you can't backup a log without having at least one full backup.

    No you can't. Until a full backup is taken, the log is auto-truncated on checkpoint...

  • RE: Looping

    jordon.shaw (10/15/2009)


    I guess I'm not explaining myself. I know how to do it the way that you just suggested; however, did you see my variables that I have set...

  • RE: Looping

    Edit: hit post too early. Working .....

  • RE: Help me shut up a vendor

    Ninja's_RGR'us (10/15/2009)


    We I mean slowly I mean 10 seconds to record 1 record on a "supposed" index seek, his words not mine.

    Can you find/get vendor to find the wait type...

  • RE: CPU reached 100%

    chk2009 (10/15/2009)


    Thanks for your reply, yes I want to reduce cpu usage, I believe SQL server is taking more memory.

    Find the queries that are using all the CPU. Optimise them....

  • RE: Maintenance package erors.

    SQL 2005 or SQL 2000?

    Check the maint plan history, check the SQL error logs.

  • RE: CPU reached 100%

    What exactly are you looking for? Advice on reducing the cpu usage?

    Are you sure it's SQL using all the CPU time?

  • RE: Query Performance Issue

    Slick84 (10/15/2009)


    Okay Gail, here is my execution plan after making the above changes. Unique non-clustered index on fstrShortsku and EDPno included in index for tblRegularItems.

    Excellent. This looks about as good...

  • RE: Poor Man's Enterprise Feature - Lock Pages in Memory

    Steve Vassallo (10/15/2009)


    What about SQL 2008? Is this an option there?

    Yes.

    SQL 2008 SP1 CU2 allows locked pages on standard edition. Good reference for this topic is the...

  • RE: Upgrade 2000 DB to 2008

    What's the question?

  • RE: Query Performance Issue

    Slick84 (10/15/2009)


    Also, is it possible for me to "alter" my non clustered index on tblregularitems and add the 'Include' clause in there?

    Drop Index

    Create Index

Viewing 15 posts - 36,286 through 36,300 (of 49,562 total)