Forum Replies Created

Viewing 15 posts - 1,726 through 1,740 (of 14,953 total)

  • RE: Are the posted questions getting worse?

    Brandie Tarvin (4/12/2012)


    *snicker*

    A little boy goes to his father and asks, "Daddy, how was I born?"

    The father answers,"Well, son, I guess one day you will need to find out anyway!

    Your...

    - 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/11/2012)


    Lynn Pettis (4/11/2012)


    Not sure but I think this individual, xenophilia, should change their name to xenosqlia.

    Please, someone tell me why, just why do I keep helping someone who...

    - 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/11/2012)


    Not sure but I think this individual, xenophilia, should change their name to xenosqlia.

    I now have, "I'm gonna make you SQL like a pig." stuck in my head...

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

    Sean Lange (4/11/2012)


    What is wrong with people today? So many stupid posts with little to no information or clarity. Did I miss the memo about today being "Leave your brain...

    - 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: Same SELECT Stmt yielding DIFFERENT results

    The only way to do that is to use "dbo.TblA", instead of just "TblA".

    Note that doing so actually makes the proc run faster, and allows more concurrent users to run...

    - 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: Need help with RAG status calculation

    All you need to do to build whatever rules you need is make sure the hours table has in it what you want for your rules. If, 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: Same SELECT Stmt yielding DIFFERENT results

    In queries, procs, etc., I make sure to ALWAYS use schema names for objects, unless I specifically want the query to pull different data for different users. Speeds 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: Same SELECT Stmt yielding DIFFERENT results

    GSquared (4/9/2012)


    Run in the same scope?

    Any schemas in use (besides dbo, of course)?

    Data volatile?

    Isolation levels in use?

    Those questions.

    Are the two scripts (query and proc execute) being run in the same...

    - 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

    Real deletes vs soft deletes is based on local business needs.

    I've worked for companies that never deleted (or even updated) anything. It was all handled by row status indicators.

    I've...

    - 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: Need help with RAG status calculation

    Additional:

    Change "GETDATE()" to a specific date and time, like 9 AM today. You'll see very different "hours counts" for the different categories of tickets.

    - 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: Need help with RAG status calculation

    What you need to add to this is an hours of the day table. It would list whether an hour is "work", "after", "overnight", or whatever business category an...

    - 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: Same SELECT Stmt yielding DIFFERENT results

    I doubt sample tables and DDL/DML will help on this. It'll be something that wouldn't normally be included in those.

    Check the questions I posted earlier. See where those...

    - 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

    Probably not very well at all.

    Can you stage the data from the source using some sort of delta-sensitive process? Something that just pulls over new/updated rows?

    - 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

    You can sort of do that if you're updating one table, or always updating the same table last.

    A trigger fires either when the data is inserted/updated, or instead of the...

    - 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: Same SELECT Stmt yielding DIFFERENT results

    Run in the same scope?

    Any schemas in use (besides dbo, of course)?

    Data volatile?

    Isolation levels in use?

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