Forum Replies Created

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

  • RE: Remove repeated column header

    Did you modify the query at all?

    Having Datepart(hour) in the Group By should make it just return the hours. I just tested that, and it worked:

    create table #T (

    ID...

  • RE: Mining for Quitters

    Seems like a reasonable use of BI tech. Heuristic, self-correcting systems like that can work.

    I built one that predicted whether a customer would stay or leave, and it was...

  • RE: CLR Triggers in SQL Servers

    I can just see it now: After detailed studies, it turns out that the CLR triggers all come from one dev database on one server, being used for proof-of-concept testing,...

  • RE: SQL Server 2000 vs SQL Server 2005

    Can you post both execution plans? Can't really figure out the difference without looking at those.

  • RE: Multiple Single Drives vs RAID solutions?

    I'm assuming you mean something besides kilobytes when you say "15k" on the hard drives, but I'm not sure what. Could be RPM, but I'm not used to that...

  • RE: Remove repeated column header

    Why not simplify the whole thing by doing something like this:

    SET @reportDate = '2009-01-10 00:00:00.000' --hard coded date for now

    SELECT

    sr.SiteName,

    b.BldgName...

  • RE: Are the posted questions getting worse?

    I just got sucked into the complexity discussion.

    "We're caught in a tractor beam..."

  • RE: O(n) , O(n log n), O(n^2)

    He's talking about memory allocation. I don't know how T-SQL handles variable buffers and such, but in C, you would actually rewrite the memory addresses (or at least, you...

  • RE: Are the posted questions getting worse?

    Lynn Pettis (6/9/2009)


    Could just be me, but I still think our PhD Candidate doesn't have a clue.

    Of course not! Don't you know what BS, MS, PhD stand for? ...

  • RE: O(n) , O(n log n), O(n^2)

    Karthik, '1'+'2' is still O(n^2). What's 1 squared?

  • RE: Should you use your full name as a username?

    Steve Jones - Editor (6/9/2009)


    I picked way0utwest when I came to Denver, and use that in places. Others I stick with Steve Jones. No real rhyme/reason, but I note that...

  • RE: Configuring Log shipping

    You definitely can do that. Really, the only difference is making sure that you set up logins for the shipping that allow you to connect and do what you...

  • RE: Index question for the guru's out there...

    GilaMonster (6/9/2009)


    From experience I've found that fixing the 3 top performance problems in the DB often provides an incredible improvement in overall response and performance

    Ditto. It's a ripple effect.

  • RE: Recursive Triggers

    After reading your description, I'd go with what Barry suggested. I'd also suggest moving it from a trigger into the insert proc, if that's possible. Makes for much...

  • RE: Index question for the guru's out there...

    I'd go with specialized indexes. The gain from those should much more than offset the loss of maintaining them.

    Like Gail said, pick the most common queries, add covering indexes...

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