Forum Replies Created

Viewing 15 posts - 44,956 through 44,970 (of 59,063 total)

  • RE: Function - Check Count

    Very cool... lot's of folks take that suggestion the wrong way or kicking and screaming. 😛 You took it absolutely the correct way. Thanks for the feedback,...

  • RE: Update previous close price.

    Ashwin M N (2/24/2009)


    The clustered index on the table is for Detail_id. I have created a procedure for this but it is very slow, for a single inventory update it...

  • RE: CURSOR READ SP_WHO2

    pezhman123 (2/23/2009)


    Dear friend,

    first :

    let me inform you that I got the error below while trying to

    run your code please let me know what is the problem.

    Msg 492, Level...

  • RE: Display column of different rows as column of a single row

    If memory serves correctly, the outer cylinders of a disk actually have more sectors of data than the inner cylinders simply because there's more real-estate. Even the old "windsor"...

  • RE: Instrumenting Code

    Andrew (2/23/2009)


    Worked on something similar doing something similar.

    Lesson learned (while refactoring) was same as VB et al code - break 1 big in to parent with lots of smaller sections.

    When...

  • RE: Function - Check Count

    norbertackerman (2/24/2009)


    Jeff and Matt,

    Thank you both for your help!

    The data is quite small. Only a few thousand rows. No real perfomance issues. The previous version works perfectly!

    Norbert

    You're welcome, but... saying...

  • RE: Update previous close price.

    Ah... almost forgot... you still haven't told me what the clustered index on the table is.

  • RE: Update previous close price.

    I take a swing at it after work tonight.

  • RE: Display column of different rows as column of a single row

    In full recovery mode, as with I/O, I don't believe it's the number of rows that actually matters... it's the byte count.

    For I/O, using aggregation, like SUM, for...

  • RE: Automation fun

    Absolutely... it supposedly allows the re-use of execution plans for a multiple "hit" environment such as that which a GUI with lot's of users my provide.

    In a batch environment, it...

  • RE: Display column of different rows as column of a single row

    Nice chunk of test generation code, Bob. Well done and thanks of posting it.

    Yeah, if ya just gotta do some concatenation, I very much like the FOR XML...

  • RE: Instrumenting Code

    Heh... I agree... the code is way to long, way too slow, and way too poorly written. The code does accounts receivable for 1.5 million customers on a daily...

  • RE: Automation fun

    The only time I use sp_execute, is if the dynamic SQL needs to put a value in a return variable. Since that's normally done only for GUI code, I...

  • RE: Instrumenting Code

    Adam Machanic (2/23/2009)


    I'm definitely a fan of instrumentation for debugging purposes. Quite a while ago I wrote something called TSQLAssert (http://datamanipulation.net/tsqlmacro/) for that very purpose... It's based on the...

  • RE: Display column of different rows as column of a single row

    Sooooo.... Sriram.... your question has people using the "C" word. Can we please hear back from you as to why you want to do this? Not looking to...

Viewing 15 posts - 44,956 through 44,970 (of 59,063 total)