Forum Replies Created

Viewing 15 posts - 8,596 through 8,610 (of 14,953 total)

  • RE: Are the posted questions getting worse?

    Lynn Pettis (8/22/2009)


    GilaMonster (8/22/2009)


    Lynn Pettis (8/22/2009)


    Lynn tries to work with everyone. 😉

    Aren't there a few that have made even your personal black-list?

    You are right, to a point. But...

    - 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 Job Query

    I can't tell for sure, but your Where clause looks like you're trying to just get the most recent run of the job. Is that correct?

    - 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: Joining Stored Procs Datasets

    Take a look at OpenRowset, OpenDatasource, and OpenQuery in Books Online. There are ways to use those to query a proc result-set as if it were a table.

    - 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: tmp Tables

    If you really want to get rid of them all at once, run this:

    select 'drop table ' + name + ';'

    from sys.tables

    where name like 'tmp%';

    That'll give you a list 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: Encryptionphobia

    Some data is better lost than left unsecured. Most isn't. There's always a balancing act between security and usability.

    On the school locker thing, I actually got to 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: Two Factor Authentication

    I think this would be a good option for high-security systems. I don't think it will fly in most small businesses.

    - 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: Single flat file to be loaded in multiple tables at destination

    touchmeknot123 (8/21/2009)


    Staging table as in temporary table in the Database and then update tableB and tableC ?

    It can be done with a temp table. That's how I generally handle...

    - 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: Rewrite T-SQL to remove MAX function

    DBASkippack (8/21/2009)


    ahhh.. the Bill O'Reilly approach worked.. Thanks for the feedback..

    It also just got you onto a list I keep of people I won't ever help again.

    There are three people...

    - 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: zipcodes separated by comma

    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: Rewrite T-SQL to remove MAX function

    Actually, in taking another look at this, a variable is completely the wrong solution. Would have seen that earlier if I were able to test this, but 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: Index fragmentation

    That's definitely the right place to start.

    I'd rebuild over 20, and the reorg the rest that're over 10.

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

    Gianluca Sartori (8/21/2009)


    RBarryYoung (8/21/2009)


    Gianluca Sartori (8/21/2009)


    RBarryYoung (8/20/2009)


    FYI, am in the hospital again, back problems (can't walk or even sit up), was admitted through the ER yesterday. as before, if...

    - 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: Remove log file

    You can use the shrink file option to empty the data from the file into another file. Then you'll be able to get rid of 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: Rewrite T-SQL to remove MAX function

    I guess I don't understand your request. You say you need to replace this:

    (VV.Fund_Valuation_Date = (SELECT MAX (Fund_Valuation_Date)

    FROM dbo.Fund_Valuation VVV

    WHERE VVV.Fund_Valuation_Date < '2006-09-01'

    AND VVV.Fund_Number = V.Fund_Number

    AND VVV.Class_Type_Abbr_Name = V.Class_Type_Abbr_Name

    AND...

    - 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: Single flat file to be loaded in multiple tables at destination

    Load it into a staging table, and build a proc that handles it from there.

    - 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 - 8,596 through 8,610 (of 14,953 total)