Forum Replies Created

Viewing 15 posts - 841 through 855 (of 14,953 total)

  • RE: Difference between a CROSS JOIN and a 'comma'

    Interesting. Under most circumstances, the two are semantically and functionally equivalent. But in this case, it can't parse the query correctly. I get a "Can't bind M.superiour"...

    - 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: rCTE vs LIKE for Hierarchy

    On hierarchies, While and rCTE usually do one index scan per level in the hierarchy. It can blow up to one scan per node in some cases. That's...

    - 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: Downloading files for Import?

    Awesome find. Sounds perfect for what you need.

    GNU does some seriously good work. I've used a bunch of the products from that community. GNUPG for example.

    - 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: PROD ISSUE : Conversion failed when converting the varchar value 'DT-1205-006049' to data type int.

    Nope. You'd have to at least add the plan to the query. And even that's not guaranteed to work.

    - 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: Strange thing with "SET DATEFORMAT"

    Yeah. You found the same thing with the documentation that I did. It seems to contradict itself.

    - 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: Hierarchies in SQL, Part II, the Sequel

    Jeff Moden (9/10/2012)


    There are some people who insist on building the Nested Sets data in a single query. I donโ€™t know why, since this does it accurately and in...

    - 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: Downloading files for Import?

    RBarryYoung (9/13/2012)


    GSquared (9/13/2012)


    RBarryYoung (9/12/2012)


    GSquared (9/12/2012)


    RBarryYoung (9/12/2012)


    ...

    Well, I may have over-reacted. I am trying to an IRS download directory (http://www.irs.gov/pub/irs-soi) but a I cannot get a connection. I don't...

    - 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: rCTE vs LIKE for Hierarchy

    While an rCTE vs a While Loop can be a poor decision, there are other times when it's not.

    Tests that don't involve any table-query, just Insert statements, or a RAM-resident...

    - 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: Strange thing with "SET DATEFORMAT"

    I just played around with this a bit.

    Per MSDN (http://msdn.microsoft.com/en-us/library/ms189491.aspx):

    Some character strings formats, for example ISO 8601, are interpreted independently of the DATEFORMAT setting.

    It looks like the language setting...

    - 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: PROD ISSUE : Conversion failed when converting the varchar value 'DT-1205-006049' to data type int.

    Where I've run into that kind of thing, I usually have the script/proc insert the rows I want to work on into a temp table, then run the string manipulation...

    - 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: Downloading files for Import?

    RBarryYoung (9/12/2012)


    GSquared (9/12/2012)


    RBarryYoung (9/12/2012)


    ...

    Well, I may have over-reacted. I am trying to an IRS download directory (http://www.irs.gov/pub/irs-soi) but a I cannot get a connection. I don't think 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: Puzzle : Generating two unique numbers from an array of numbers (repetation not allowed)

    Eugene Elutin (9/12/2012)


    ...

    The only way to make it more efficient is to shortcut the math. That's why some are hard-coding 3 as the final digit. (It only saves...

    - 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: Downloading files for Import?

    RBarryYoung (9/12/2012)


    GSquared (9/12/2012)


    RBarryYoung (9/11/2012)


    GSquared (9/11/2012)


    SSIS has an FTP object that can be used to automatically download the files. Won't work if it's FTPS, but will for FTP. Will...

    - 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: Could not locate statistics

    Murphy hates us. ๐Ÿ™‚

    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: Puzzle : Generating two unique numbers from an array of numbers (repetation not allowed)

    Eugene Elutin (9/12/2012)


    I've tried all three methods, INNER JOINs, CROSS APPLY and CROSS JOIN with WHERE: all produce very similar query plans with use of Nested Loops (Inner Join).

    Cannot...

    - 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 - 841 through 855 (of 14,953 total)