• jmoneysteph (2/21/2014)


    In my shop CLR functions have a limited use, primarily for complex financial computations. One crucial best practice when coding CLR objects should include mechanisms to avoid runaway CLR processes (calling sleep functions every x iterations). Especially true for looping procedures. A non-yielding CLR process in SQL Server can have disastrous results when it happens to be on the same scheduler as the Log Writer process. Let's just say I have first hand experience here :).

    I, for one, would like to see bad practice/good practice examples of this. Any change of either a quick posting or an article?

    Gaz

    -- Stop your grinnin' and drop your linen...they're everywhere!!!