Forum Replies Created

Viewing 15 posts - 2,296 through 2,310 (of 4,081 total)

  • RE: preferring Set based operations

    -- set up sample data (this will be your job next time)

    declare @sample table (string varchar(40))

    insert into @sample

    select 'Apples' union all

    select 'Bananas' union all

    select 'Coconuts' union all

    select 'Paradimethylaminobenzaldehyde'

    -- view...

  • RE: preferring Set based operations

    Trudye, since you are obviously a beginner, I will help you out a little on this one. BB is absolutely right, though. If you...

  • RE: TSQL LAB 2 - Writing Conditional WHERE Clauses

    Is that wrong or is it 12 of one, half dozen of the other?

    That would be SIX of one, half a dozen of the other. 😉

  • RE: Are the posted questions getting worse?

    Is it just me, or are we starting to get a lot of "homework" questions again? I've seen several lately that seemed to be absolutely basic,...

  • RE: UPDATE

    Jeff has posted about this type of update before. Basically, it's a time bomb waiting to explode, and when it does it will cause extreme slowness in your server.

    Thanks for...

  • RE: Duplicate rows - get bigger id

    Where row_number() ceases to be the most efficient technique depends on a number of variables, like the row size being retrieved and the existence of index. The...

  • RE: UPDATE

    I thought this was a good question because I've run across a number of people who didn't realize it was possible, but the example troubles me. It just...

  • RE: Duplicate rows - get bigger id

    For low volume queries, you can also use a cte with ROWNUMBER() using both partition and order by, then testing for where rownumber = 1.

    Look up the syntax for ROWNUMBER()...

  • RE: Are the posted questions getting worse?

    AllRIGHT! Extra effort paid off. I just got approval to go to PASS. 😀 😀 😀

  • RE: Adding Two Columns

    Have you tried looking this up? Or even taking a guess? It's really terribly awfully simple.

    I'm guessing this is part of a...

  • RE: The Dynamic Tally or Numbers Table

    I might finally be ready to stop cross-joining master..syscolumns.

    I can't stop either, Barry. It's a sickness, I tell you. :w00t:

    Maybe we should form...

  • RE: The Dynamic Tally or Numbers Table

    Fine article, Lynn, and another rocking discussion, everyone.

    I'm cussing now because work is taking away from my reading time in here.

  • RE: Indexes

    Spend enough cache and you can buy a better query plan?

    (Sorry, Emperor Paulpatine. I just couldn't resist.)

  • RE: Are the posted questions getting worse?

    In the NFL all my ties are to the Giants, but they didn't look that great on offense last night. To me, the Cowboys beat them everywhere...

  • RE: Are the posted questions getting worse?

    People

    Eating

    Tasty

    Animals

Viewing 15 posts - 2,296 through 2,310 (of 4,081 total)