Forum Replies Created

Viewing 15 posts - 11,161 through 11,175 (of 18,923 total)

  • RE: Longish Threads

    Just to clarify what we all want...

     

    Page navigation at the top AND bottom pls.

     

    TIA .

  • RE: decimal places are being rounded to zero

    That's why it's called a Gotcha .

  • RE: Optimization theories

    Is it essential to run that after updating the stats or even reindexing the DB?

     

     

  • RE: HELP WITH A SIMPLE STORED PROCEDURE

    ... was at lunnh break.  Also we are not your servants.  So if you need something of that order I suggest you hire yourself a programmer, or better, a DBA.

     

    Does...

  • RE: Speeding up a huge delete

    Don't have to but I would strongly suggest using where condition that can use an index!!

     

    Make it as narrow as possible... since you seem to be short on space ATM!

     

  • RE: HELP WITH A SIMPLE STORED PROCEDURE

    I would miss the code for sp_Demo

     

    Also I totally agree with vasc on this one.  You are heading straight for problems with this solution (unless we misunderstand the requirements)!

  • RE: HELP WITH A SIMPLE STORED PROCEDURE

    Can you post the version of the porcs you are utilizing pls?

  • RE: HELP WITH A SIMPLE STORED PROCEDURE

    Are you telling me that this works

    SELECT CalcAction FROM ClaimCounts_Test

    WHERE CalcAction='Total Record Count'OR CalcAction='Record Count of Unique Claims '

    ORDER BY CASE

    WHEN CalcAction='Total Record Count' THEN 2

    WHEN  CalcAction='Record...

  • RE: HELP WITH A SIMPLE STORED PROCEDURE

    CREATE PROCEDURE dbo.SpDemo

    AS

    SELECT CalcAction FROM ClaimCounts_Test

    WHERE CalcAction='Total Record Count'OR CalcAction='Record Count of Unique Claims '

    ORDER BY CASE

    WHEN CalcAction='Total Record Count' THEN 2

    WHEN  CalcAction='Record Count of...

  • RE: Stored Proc with Dyanmic SQL - Headache

    I feel you pain... However I don't see any way of speeding up this thing.

     

    Maybe a concatenation funcion could do it by I don't know your schema enough to create...

  • RE: HELP WITH A SIMPLE STORED PROCEDURE

    "Don't take this personnally" means I don't want to offend but I must know...

     

    Anyhow vasc showed you another way (better) of doing this.  Let us know how it works for...

  • RE: Stored Proc with Dyanmic SQL - Headache

    Stupid question alert : Why not use varchar(4000) instead of 40????

     

    But I think the guy is wel aware of it and the error he mentioned showing that the problem is...

  • RE: Stored Proc with Dyanmic SQL - Headache

    Wow, great catch... I wouldn't have caught that one soon (sorry barely never use Dynamic sql &nbsp...

  • RE: HELP WITH A SIMPLE STORED PROCEDURE

    1 - What is your training in programmation and in SQL server 2000?

    2 - Why are you creating a permanent table in the proc (recompilations are not performance's best friend)?

    3...

  • RE: triggers updating individual rows

    Check out books online (BOL). The section CREATE TRIGGER will surely help you a lot!

     

    You'll also find plenty of information on this site alone!

Viewing 15 posts - 11,161 through 11,175 (of 18,923 total)