Forum Replies Created

Viewing 15 posts - 2,791 through 2,805 (of 14,953 total)

  • RE: T sql query to verify decimal exist in the column

    What data type is the column?

    Does "1.0000" qualify as having a decimal point in it? Or does it need to have a non-zero value after the decimal to be...

    - 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: Insertion order - GETDATE(), IDENTITY_INSERT, and others...

    mister.magoo (11/19/2011)


    One word - ROWVERSION - I don't think you can break this...

    BEGIN TRAN

    -- Let's have a test table with an identity (to be forced out of order)

    -- and a...

    - 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: Is this correct use of WITH (NOLOCK, READUNCOMMITTED) in delete?

    p-nut (11/21/2011)


    GSquared (11/21/2011)


    In that case, I'd start looking into using snapshots for the reports to operate off of. You're almost certainly on Enterprise Edition, which means that's a real...

    - 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: Helpful Advice?

    You mean you don't just automatically do all of those things every day?

    I have a job that runs them automatically every day, right in the middle of peak business hours,...

    - 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: I have a coworker....

    Koen Verbeeck (11/20/2011)


    Sean Lange (11/18/2011)


    Koen Verbeeck (11/18/2011)


    That will only work if she keeps the lit on the pot, so that pressure rises within the pot.

    I don't think you can increase...

    - 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: XQeury modify() fails when update a decimal value that is null

    Here's a sample:

    DECLARE @XML XML = '<values><Names First="GSquared" /></values>' ;

    SET @XML.modify('delete /values/Names/@First') ;

    SET @XML.modify('insert attribute xsi:nil {"true"} into (/values/Names)[1]') ;

    SELECT @XML ;

    - 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: Is this correct use of WITH (NOLOCK, READUNCOMMITTED) in delete?

    In that case, I'd start looking into using snapshots for the reports to operate off of. You're almost certainly on Enterprise Edition, which means that's a real option for...

    - 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?

    ChrisM@Work (11/21/2011)


    Ninja's_RGR'us (11/21/2011)


    Hey guys I need your unbiased view of this.

    ...

    Your impressions?

    Move. Some of these fungi can cause serious respiratory problems. It's not worth taking the risk.

    Second the motion.

    - 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: Programmatically creating Maintenance Plans

    Instead of using the Microsoft wizard plans, I have a "DBA" database with configurable procedures in it, that manages all of that for me.

    Much more granular control of the thing,...

    - 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: SQL Server DBA/Developer salary survey

    http://www.salary.com already has this data, plus a LOT more info. I haven't had trouble getting just SQL Server DBA data from it for the regions I've looked up.

    Please always...

    - 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: Calculation with group by

    Do a join from TableA to the master table, then from that to TableB. Select Distinct on just the columns from TableA and TableB in that. That 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: Is this correct use of WITH (NOLOCK, READUNCOMMITTED) in delete?

    p-nut (11/17/2011)


    GSquared (11/17/2011)


    p-nut (11/17/2011)


    Ok, as it turns out she believes the reason is 2-fold. Her words: The first is that the nature of our data does not leave open...

    - 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: Performance Question

    It's pretty usual for queries of many sorts to run slower after a reboot, because of caching issues for both data and execution plans.

    This sounds, however, like a good case...

    - 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: question on best practices

    If you pull all of them into a table variable, it will be faster than a temp table, because it avoid the distributed transaction coordinator. That will often give...

    - 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: != is it the same is <> what is better to use?

    They are the same.

    Better is a matter of opinion on this one. It doesn't really matter which you use, but be consistent with whichever you choose.

    - 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 - 2,791 through 2,805 (of 14,953 total)