Forum Replies Created

Viewing 15 posts - 10,831 through 10,845 (of 14,953 total)

  • RE: Is it possible?

    You can create a trace without using profiler. Take a look at sp_trace_create in Books Online.

  • RE: Why Are There So Many Editions?

    Steve Jones - Editor (2/23/2009)


    I've asked about the a la carte versions of SQL, but I think MS avoids that to prevent a nightmare of support issues. Which features do...

  • RE: Slow running query

    Any possibility of posting the code for the query? That usually helps in these cases.

  • RE: Updating a column with serial numbers

    It sounds to me like what you need is a view with a row_number column, instead of adding a column to the actual table. That way, you can include...

  • RE: Why Are There So Many Editions?

    I think it would be nice if you could customize an installation and price. For example, if Standard edition was the baseline and had exactly what it currently has,...

  • RE: Using Variables in SELECT statements

    You can't really do that as part of a view. You could do it in a proc with dynamic SQL, but a view doesn't have variable column names.

  • RE: Are the posted questions getting worse?

    Jeff Moden (2/23/2009)


    The Thread is like the Borg?

    Heh... no... it's more like the "bored". 😛

    I actually ran into a business card one day that claimed the owner of the card...

  • RE: Are the posted questions getting worse?

    Jack Corbett (2/23/2009)


    GSquared (2/23/2009)


    Edit: Uh oh! I just realized I called "The Thread" "it"....

    How else would you refer to The Thread? We do not the gender of The...

  • RE: Using Variables in SELECT statements

    Is there an ID column in your view? If not, what is that column called?

  • RE: Are the posted questions getting worse?

    Alvin Ramard (2/23/2009)


    The Thread (2/23/2009)


    We are out of hand. We insist we are not in-hand.

    Don't you mean that you (The Thread) are out of hand?

    🙂

    If you look at The...

  • RE: Days and Time

    Use DateAdd. Like this:

    declare @String char(7), @Year char(4), @Day int

    select @String = '2009044'

    select @Year = left(@String, 4), @Day = right(@String, 3)

    select dateadd(day, @Day, '1/1/' + @Year)

    You can use seconds...

  • RE: Conundrum

    I'm going to go with explicitly granted permissions, or explicitly denied permissions. That's the best guess I can come up with.

    My first thought was "regular login, granted database owner...

  • RE: Querying small table against very large table, indexing strategy involved?

    Take a look in Books Online (or MSDN) at how the various join types work. You're looking for "Nested Loops Join", "Hash Join" and "Merge Join". Draw a...

  • RE: Querying small table against very large table, indexing strategy involved?

    I would expect those queries to execute in the same way. SQL is probably going to turn both of them into a nested loops join, which means they'll do...

  • RE: Index selection + C or NC ?

    Judging by these, I'd make feed_num the first column in the index, then err_cd, then symbol. That should satisfy all of the queries you've posted so far. One...

Viewing 15 posts - 10,831 through 10,845 (of 14,953 total)