Forum Replies Created

Viewing 7 posts - 31 through 37 (of 37 total)

  • RE: How to round to nearest nickel?

    How about this?

    I

    update part

    set

    USER_4 = cast(convert(money,unit_price,0)as varchar), -- save old price

    unit_price = round((unit_price*1.05)/0.05,0)*0.05 -- increase price and round

    where

    unit_price is not null and -- exclude null value

    unit_price <> 0...

  • RE: ISNULL in a CASE statement???

    beautiful ... thank you.

  • RE: ISNULL in a CASE statement???

    Andras Belokosztolszki (1/21/2008)


    You could change your case statement like:

    CASE

    WHEN [myRow] = 1 THEN 'True'

    WHEN [myRow] IS NULL THEN 'False'

    ELSE 'FALSE'

    END

    Andras

    I'm using MSSQL 2000

    I get a syntax error when using...

  • RE: Is this a memory leak?

    The reason we need the extra two gigs is because this server also has our ERP system runnning on it. I have not been able to sell the notion that we...

  • RE: Is this a memory leak?

    Will,

    To answer your questions:

    We have 2GB of memory on our DB server and are purchasing another 2GB today.

    You can see how much memory sqlservr.exe is using by looking at the task...

  • RE: Is this a memory leak?

    Gentleman,

    Your feedback on this issue is sincerely appreciated. 

    Being a generalist with responsibilities from resolving printer problems to developing business strategy and vision, I could not survive without you, and others like you willing to...

  • RE: Is this a memory leak?

    Collin,

    I understand your frustration in regard to 'why doesn't this guy read the BOL?'.  The problem is if you don't know the right question, reading/searching will/may be interesting but not...

Viewing 7 posts - 31 through 37 (of 37 total)