Forum Replies Created

Viewing 15 posts - 4,021 through 4,035 (of 6,486 total)

  • RE: SELECT WITH NOLOCKS

    Jeff Moden (3/20/2008)


    No... like I said earlier... WITH (NOLOCK) only affects SELECT's. The following is from Books Online... (or are we talking something different?)

    NOLOCK

    Do not issue shared locks...

  • RE: Replace non numeric characters in string

    Sergei Zarembo (3/20/2008)


    If you go via a CLR regex function to render "235 dogs, 5 cats" to "2355" then [considering u r doing millions of recs] this a bit more...

  • RE: How to delete DTS versions.

    nplace6530 (3/20/2008)


    Hi Greg

    Many thanks for the reply.

    I've managed to find the GUI option to delete DTS package versions.

    The "Delete" option on right clicking the DTS package takes you into the...

  • RE: bulk updates on large tables

    jb_lbm (3/20/2008)


    thanks for the advice. I made your change so it only udpates where different (100% are different on the first runas they are defaulted to -1).

    I am going to...

  • RE: Performance Tuning: Concatenation Functions and Some Tuning Myths

    JJ B (3/20/2008)


    Mike: Thanks for looking into it. Glad to know I didn't miss something terribly obvious.

    re: "replace required on certain characters. "

    I would add: & # x 0...

  • RE: SELECT WITH NOLOCKS

    GilaMonster (3/19/2008)


    Matt Miller (3/18/2008)


    I'd have to agree. Just about the only thing preventing NOLOCK would be a schema-lock, or something changing your DDL. Do you have something routinely...

  • RE: optimizing query

    Since we're still guessing (no specifics to work on) - can you make that a covering index? Is the index even being used by the execution plan?

  • RE: Daterange Overlap Another Daterange

    Can't you just logically do it with 2 conditions:

    (StartOfService < WarEnd) and (EndOfService > WarStart)

    Should cover all possibilities, IMO....

    Of course - this only answers the questions of "who...

  • RE: Reduce INITIAL SIZE of TEMPDB

    Andras Belokosztolszki (3/20/2008)


    mjsteele (3/20/2008)


    No it deals with SIZE, which is different than INTIAL SIZE.

    🙂 Well, one more try:

    Management Studio will ignore your attempt to set the size of tempdb to...

  • RE: Replace non numeric characters in string

    By the way - here are the results for the "top 4", based on 4M rows... (Excluding the "I know the pattern" solution)

    Tomm - yours made the list. It's...

  • RE: Reduce INITIAL SIZE of TEMPDB

    The size cannot be smaller than the initial size. If you use the ALTER command - the SIZE will become the initial size.

    If you don't like using that -...

  • RE: More RBAR and "Tuning" UPDATEs

    Jeff Moden (3/20/2008)


    Manie Verster (3/20/2008)


    Hi Jeff, and I thought you were an American. Americans only eats meatloaf or not?:hehe:

    Heh... depends... will meatloaf hold up in a slingshot? 😉

    My Great-Aunt Wilma's...

  • RE: Concatenating string

    ryno (3/20/2008)


    Ahh great 🙁

    I just replace the query string back into the OPENQUERY and still it give me:

    Incorrect syntax near '+'.

    whatever is being passed to openquery must be a static...

  • RE: Replace non numeric characters in string

    GSquared (3/20/2008)


    Matt Miller (3/19/2008)


    ...Knowing the pattern allows you to come up with something better.

    Yeah.

    Of course, as in my prior example, turning "235 dogs, 5 cats", into "2355", is probably not...

  • RE: Replace non numeric characters in string

    GSquared (3/19/2008)


    That's on 4-million rows, no indexes, etc. Same tables as my last tests.

    How does that do on your machine?

    About like yours. It kills the regex replace handily....

Viewing 15 posts - 4,021 through 4,035 (of 6,486 total)