Forum Replies Created

Viewing 15 posts - 3,031 through 3,045 (of 8,416 total)

  • RE: Character type number convert

    For interest's sake, here's a 2008 solution based on hierarchyid (which is a very useful type for tree problems):

    DECLARE @TABLE

    TABLE (

    ...

  • RE: Are the posted questions getting worse?

    Jeff Moden (7/6/2010)


    Oddly enough, I'd heard that Forward_Only Read_Only was faster than Fast_Forward. Heh.... guess what I'm NOT going to test. :hehe:

    Yep, but you also need to specify STATIC...

  • RE: Are the posted questions getting worse?

    Jeff Moden (7/6/2010)


    ...the only reason why I know how to write one (or at least I think I know how to write one :hehe:)...

    The cursor you wrote is a FAST_FORWARD...

  • RE: adding intermediate views - good or bad design?

    Andrew-443839 (7/5/2010)


    As a (rather late) post script to the thread, in the end we did use synonyms, with a successful outcome. 🙂

    Thanks again.

    Andrew

    Good to hear, thanks for the update 🙂

  • RE: Strange UNION ALL behaviour

    Gianluca Sartori (7/2/2010)


    I decided to fix the thing using a table variable, but I didn't save the plans. Do you think it's still possible to get the plan from some...

  • RE: Function or procedure?

    Gianluca Sartori (7/2/2010)


    Well, actually it's a SQLServer day...

    http://www-01.ibm.com/support/docview.wss?uid=swg21307083

    Serves you right for still running SQL Server 2000 😛 😉

  • RE: Strange UNION ALL behaviour

    Gianluca Sartori (7/1/2010)


    No, the two queries get absolutely different plans when unioned together. That's what I don't understand. How can UNION ALL change the plan so dramatically?

    The simple answer...

  • RE: Rolling Moving Average (12 months)

    Please see the following article on this site:

    Calculating Moving Averages with T-SQL[/url]

  • RE: Implicit conversion question

    Eugene Elutin (7/2/2010)


    I guess it is more than enough to know these formulas exist...

    I remember very few facts since facts do not age well.

    I have mad Googling skillz though :laugh:

  • RE: Are the posted questions getting worse?

    WayneS (7/2/2010)


    Steve Jones - Editor (7/1/2010)


    What did I do?

    I'm not renewed now. And perhaps I won't be if PASS gets to weigh in.

    Well, it DOES list you in it. Guess...

  • RE: Today's Random Word!

    Chris Morris-439714 (7/2/2010)


    Paul White NZ (7/2/2010)


    Precision and scale

    Measuring worm 😉

    Funny :laugh:

  • RE: Function or procedure?

    Gianluca Sartori (7/2/2010)


    Paul White NZ (7/2/2010)Reported as spam - assuming no-one here is in the market for kitchen cabinets?

    On days like today I wish I was...

    Seems like Gianluca's having an...

  • RE: Function or procedure?

    Dave Ballantyne (7/2/2010)


    Thought about it but gave the benefit of the doubt.

    There have been a spate of copy-n-paste replies from one-point members with a link to something random.

    I suppose...

  • RE: Implicit conversion question

    mpdillon (7/2/2010)


    Again, thanks to both of you for your efforts in explaining what is going on.

    No worries - that's what we do.

    Oh, and in case you were wondering, very very...

  • RE: Implicit conversion question

    Eugene Elutin (7/2/2010)


    Thanks Paul, I haven't read the article you posted about precision, scale and length rules. It makes sence now. Usually, I would explicitly convert the first required...

Viewing 15 posts - 3,031 through 3,045 (of 8,416 total)