Forum Replies Created

Viewing 15 posts - 10,696 through 10,710 (of 14,953 total)

  • RE: Seemingly simple query with poor performance

    Steve can move it, but there's no real need to. Edit the original post, add something about it being SQL 2000 right at the beginning. That'll make it...

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: Pruning

    Twice, I took a custom-built database for a custom-built application and decided to rebuild it from the ground up. Once, because changes in the business would be better served...

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: Seemingly simple query with poor performance

    I have to ask, why even do the join? Maybe I'm missing something, but the only thing I see being pulled from the join table is the join column,...

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: Correlated Joins Using "Apply"

    Good article.

    I've used Cross and Outer Apply a few times very successfully. They work better with sub-queries than with UDFs. Even a single-select UDF has a performance hit...

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: A Case For Concatenation (Building Delimited Strings ) In T-SQL

    Bob Hovious (2/26/2009)


    files that have been mangled by people who don't have the faintest clue what they're doing

    I just have to ask, how much of your coding efforts are spent...

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: Are the posted questions getting worse?

    I thought the way to defeat COBOLDs was to ask them about five-digit years. Causes them to hyperventilate themselves into a coma, or something.

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: Index selection + C or NC ?

    karthikeyan (2/26/2009)


    Ok. I will try and get back to you shrotly.

    Generally speaking, which scan type(FORWARD or BACKWARD) will work fast? How any why? How it is working internally?

    I don't think...

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: Texting, or is that Twittering?

    SMS = Texting. Yep.

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: Please help me with this query

    You're welcome.

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: Doubt with SQL Server Configuration Manager and SQLSAC

    Not sure where to take it from there. I've never had a problem with getting it to connect to the service I needed unless there was a security issue...

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: Are the posted questions getting worse?

    Personally, I think the people who insist on upper-case code should be forced to read all-caps books. Ten minutes of that should cure them!

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: A Case For Concatenation (Building Delimited Strings ) In T-SQL

    I've found SSIS is great for files with a relative degree of consistency, and has major problems with files that have been mangled by people who don't have the faintest...

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: Determining the Nearest Record to a Given Location

    Oh, I saw the part where you said you were wrong. I just thought I'd rub it in a bit, since we've had this discussion before about speed sometimes...

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: Are the posted questions getting worse?

    Gotta agree with you on the uppercase thing.

    I'm having to use it at work these days, because of company standards, but I find it makes the code harder to read.

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: Left outer join

    I think this will work. Can't test it, but I think it will.

    SELECT

    BL_TRUCK_BOL_TRAILERS.bol_no,

    BL_TRUCK_BOL_TRAILERS.rev_no,

    BL_TRUCK_BOL_TRAILERS.trailer_id,

    BL_TRUCK_BOL_COMMODITY.comm_code,

    BL_TRUCK_BOL_DEST_COMM.prod_storage_id,

    BL_TRUCK_BOL_COMMODITY.comm_um,

    BL_TRUCK_BOL_DEST_COMM_ORDER.quantity,

    BL_TRUCK_BOL_COMMODITY.end_scale_wt,

    BL_TRUCK_BOL_COMMODITY.quantity,

    (select...

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

Viewing 15 posts - 10,696 through 10,710 (of 14,953 total)