Forum Replies Created

Viewing 15 posts - 1,741 through 1,755 (of 14,953 total)

  • RE: Trigger Help

    When would the trigger fire? After all the inserts/updates are done?

    - 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: Trigger Help

    Are those values from other columns? Values from input parameters for a stored procedure? Values from a direct insert by the application? Something else?

    - 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: OUTPUT CLAUSE replaced --when not matched by source then delete; WITH Update

    Here's what I've used for that kind of thing:

    USE ProofOfConcept ;

    GO

    -- Set up table

    CREATE TABLE #T (Col1 CHAR(1)) ;

    INSERT INTO #T

    (Col1)

    VALUES...

    - 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: Get Some Cross Training Today

    I'm a trained minister. Does that count as "cross training?" (drum-roll please!)

    As far as DBAing goes, I'm not sure there's a solid line between "training" and "cross-training" without going...

    - 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: OUTPUT CLAUSE replaced --when not matched by source then delete; WITH Update

    I'm assuming from the syntax that it's part of a Merge command. If so, it should work. You might need to remove the object-name ("t.") from the 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: Are the posted questions getting worse?

    "Up" is the direction radially outward from the local, subjectively predominant gravitational influence.

    At least, that's what I say when someone asks, "What's up?"

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

    Lynn Pettis (4/5/2012)


    Lynn Pettis (4/4/2012)


    Why is it people ask if you have had a similar problem, then disagree with you when you have and tell them what was happening?

    If 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: Treat the Database like Code

    TravisDBA (4/5/2012)


    Any time you want to see the warts & all presentation, come watch mine. I don't hold back. We have a ton of advantages over Visual Studio. They have...

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

    GilaMonster (4/5/2012)


    GSquared (4/5/2012)


    Stefan Krzywicki (4/5/2012)


    Brandie Tarvin (4/5/2012)


    Wow. Reading that thread and comparing it to the several 17+ hour shifts I've got through the past couple of days...

    I think I'll keep...

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

    Stefan Krzywicki (4/5/2012)


    GSquared (4/5/2012)


    Stefan Krzywicki (4/5/2012)


    Brandie Tarvin (4/5/2012)


    Wow. Reading that thread and comparing it to the several 17+ hour shifts I've got through the past couple of days...

    I think I'll...

    - 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: SYSDATETIME vs GETDATE... inconsistencies

    Keep in mind that there can be slight differences, especially at the highest precision point, simply due to CPU sequentiality constraints.

    MaxDOP 1 might change how that behaves, but also might...

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

    Grant Fritchey (4/5/2012)


    Lynn Pettis (4/5/2012)


    I'm sorry, but I started laughing to myself when I read this one.

    Look at it as a complement. To many people, we're the SQL Server documentation....

    - 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: fragmentation and defragmentation

    Fragmentation in the database world usually refers to index fragmentation. It happens (usually) because of inserts/updates/deletes of the data that's being indexed. It can slow down use of...

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

    Stefan Krzywicki (4/5/2012)


    Brandie Tarvin (4/5/2012)


    Wow. Reading that thread and comparing it to the several 17+ hour shifts I've got through the past couple of days...

    I think I'll keep my current...

    - 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: Treat the Database like Code

    I always keep a DDL store of some sort or another, to be able to deploy a copy of a database. I also keep DML statements for creating lookup...

    - 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 - 1,741 through 1,755 (of 14,953 total)