Forum Replies Created

Viewing 15 posts - 12,301 through 12,315 (of 14,953 total)

  • RE: Help, server level DDL triggers and event notifications

    I don't see create linked server in BOL under the list of events that DDL triggers can fire for.

  • RE: Renaming Database Columns/Table Names

    RedGate (link at top right of this page) has a product called Refactor that can help with that.

  • RE: Variables in Derived Tables

    Look up Apply, specifically Cross Apply, in Books Online. That should do what you need.

    With that, you can use a value in the main query/table as an input parameter...

  • RE: SQL Profanities

    riix (8/12/2008)


    Grant you seem more stressed than Gail; the point of discussion was Gail earlier stmt:

    "Just watch the performance implications. A single statement tvf is usually fine, the multi-statement ones...

  • RE: SQL Profanities

    rbarryyoung (8/12/2008)


    Wow. This obtuse defense of cursors and RBAR has more hand-waving than a Michael Jackson concert. Practically every other post here has statements to the the effect...

  • RE: SQL Profanities

    Tom Garth (8/12/2008)


    GSquared - You are right about not leaving loose ends. I was referring to scripts that were on their way to being procs. I use the GOTOs to...

  • RE: Temporary Tables

    Yep... I agree... will usually cause a recompile even if all the DDL is at the beginning... the goal is, if you're gonna have one, just have one... moving all...

  • RE: CTE / VIEW

    rosh (8/12/2008)


    And in terms of performance?

    In my tests, the exact same select written as a CTE and a view performs identically for both. Which makes sense.

  • RE: VarChar(max)?!?

    vlad (8/12/2008)


    Nope. Implicit conversion can be a problem on just about any data type. Elimination of implicit conversion would be the only way to handle that, and implicit...

  • RE: Snooping

    The first ten years of my adult life were spent in a company with very tight security standards. Since I was one of the people who was enforcing those...

  • RE: LIKE operator

    You can also escape the wildcard characters with square-brackets.

    where col like '[_]'

    or

    where col like '[%]'

  • RE: SP4 Upgrade

    Haven't run into WSquared. No clue who that would be.

    I have run into another DBA who likes to use GSquared. And in high school, I knew a guy...

  • RE: Millions of records with no index! Query kills Transaction Log

    Jeff Moden (8/11/2008)


    I haven't read all the posts on this thread, but I have to ask... why do you want to return 200k+ rows for anything? :blink:

    He mentioned late...

  • RE: Finding the last day of the month, for a date range

    Jeffrey Williams (8/11/2008)


    GSquared (8/11/2008)


    I just ran my unmodified code on my machine, and got Jan 31, Feb 29 and Mar 31.

    The difference is probably where your Numbers table starts. ...

  • RE: Temporary Tables

    Jeff Moden (8/11/2008)


    ...The biggest problem I've seen with Temp Tables is where people do a CREATE or SELECT/INTO in the middle of a query. If you look at some...

Viewing 15 posts - 12,301 through 12,315 (of 14,953 total)