Forum Replies Created

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

  • RE: Exact and Approximate

    SQL Kiwi (1/5/2012)


    Interesting. The documentation looks very similar between ASE 15 and SQL Server:

    http://infocenter.sybase.com/help/index.jsp?topic=/com.sybase.help.ase_15.0.blocks/html/blocks/blocks14.htm

    http://msdn.microsoft.com/en-us/library/ms190476.aspx

    The magic number 6 appears for division in both, but not multiplication.

    Interesting find ... however...

  • RE: Exact and Approximate

    SQL Kiwi (1/4/2012)


    Frank,

    My prior post was written before I saw your latest, so it wasn't aimed at the points you raised. I'm going to decline getting into a debate...

  • RE: Exact and Approximate

    SQL Kiwi (1/4/2012)

    There are many quirks to SQL Server

    A bad thing tm!

    SQL Kiwi (1/4/2012)

    The point of this QotD is very much to emphasise that using excessive precision or scale can...

  • RE: Exact and Approximate

    Just to jazz things up ... I have refactored the code to make it work on another SQL dialect as follows ...

    DECLARE @n1 DECIMAL(38,20)

    , ...

  • RE: Exact and Approximate

    Toreador (1/4/2012)

    ... It baffled me when I first came across it, and it baffles me still.

    I put it down to expediency prevailing over sensibility.

    It was seen as too hard to...

  • RE: Exact and Approximate

    How weird stuff like this survives in a commercial offering beggars belief (well mine if no-one elses)!

    My implicit expectation - formed in earlier days (aka Fortran IV and CDC ASM...

  • RE: Voluntary Constraint?

    Ken Lee-263418 (1/1/2012)


    ... Maybe I'm just frustrated with some deadlock investigations where neither transaction was doing anything wrong, and if both had asked a few milliseconds apart, both would have...

  • RE: Voluntary Constraint?

    Also well said Old Hand.

    One of the conundrums I often observe in the hobbyist intellectual is that even after the first sign of dark clouds on the horizon they don't...

  • RE: 100% Microsoft?

    I agree the existence of this management behaviour! However (IMO) the very holding of this belief is feeble in the extreme ... and is a clear marker for a...

  • RE: How To Avoid Msg 106

    Original post mashed the code frag...

    Frank Hamersley (12/8/2008)


    ... if it isn't why not simply fix the dynamic sql to look like (after creating the CustomerMaster table) ....

    IF Exists(SELECT Customer FROM...

  • RE: How To Avoid Msg 106

    henrik staun poulsen (12/9/2008)


    Hi icocks,

    Well, I've seen worse; like the programmer that loved to write "BEGIN TRAN", but forgot a few "COMMIT" or "ROLLBACK".

    And this system actually works, and makes...

  • RE: How To Avoid Msg 106

    This has got to be a wind up ...

    ... if it isn't why not simply fix the dynamic sql to look like (after creating the CustomerMaster table) ....

    IF Exists(SELECT Customer...

  • RE: Being a Professional

    Bah! PASS is not a "Professional" association - its simply a personal networking and vendor spruiking opportunity!

    Where's the expression on required standards of members behaviour and ethics, sanctions for malpractice,...

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