Forum Replies Created

Viewing 4 posts - 1 through 4 (of 4 total)

  • RE: Calculate pmt in t-sql (like excel)

    RBarryYoung (3/25/2009)


    usarian (3/25/2009)


    Point taken on the float bit. In your example one does get the correct result, HOWEVER:

    DECLARE @a AS FLOAT

    SET @a = 1

    SELECT

  • RE: Calculate pmt in t-sql (like excel)

    Sergiy (1/15/2009)


    Scott T (12/30/2008)


    For any math calculation avoid FLOAT use Decimal you will get Write result.:D

    DECLARE @One decimal, @Three decimal

    SET @One = 1

    SET @Three = 3

    SELECT @One/@Three + @One/@Three +...

  • RE: Calculate pmt in t-sql (like excel)

    Point taken on the float bit. In your example one does get the correct result, HOWEVER:

    DECLARE @a AS FLOAT

    SET @a = 1

    SELECT @a

    --VS

    DECLARE...

  • RE: Trigger Trivia

    Wow!

    The tip about DDL and CLR triggers was great!

    It's too bad we don't see more articles like this!

    Short, Sweet, and useful!

Viewing 4 posts - 1 through 4 (of 4 total)