Forum Replies Created

Viewing 15 posts - 3,796 through 3,810 (of 14,953 total)

  • RE: Are the posted questions getting worse?

    Matt Miller (#4) (7/12/2011)


    The water cooler must be leaking, because it just got deep in here:).

    That said - trying to disassociate law from social contract is like trying to separate...

    - 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 (7/12/2011)


    GSquared (7/12/2011)


    WayneS (7/12/2011)


    Gianluca Sartori (7/12/2011)


    What is the robbing of a bank compared to the FOUNDING of a bank?

    – Bertolt Brecht

    The "robbing" just takes your money, without having to...

    - 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: Referential Integrity - when is there too much of it

    I don't use FKs to cascade deletes. I map out the actual data dependencies, and build scripts/procs that explicitly handle the data correctly.

    This avoids a couple of issues. ...

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

    WayneS (7/12/2011)


    Gianluca Sartori (7/12/2011)


    What is the robbing of a bank compared to the FOUNDING of a bank?

    – Bertolt Brecht

    The "robbing" just takes your money, without having to deal with 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: Are the posted questions getting worse?

    Stefan Krzywicki (7/12/2011)


    GSquared (7/12/2011)


    Steve Jones - SSC Editor (7/12/2011)


    Stefan Krzywicki (7/11/2011)


    Jim Murphy (7/11/2011)


    Stefan Krzywicki (7/11/2011)


    I don't know if none of the best banks are US based, but most 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: Are the posted questions getting worse?

    Steve Jones - SSC Editor (7/12/2011)


    Stefan Krzywicki (7/11/2011)


    Jim Murphy (7/11/2011)


    Stefan Krzywicki (7/11/2011)


    I don't know if none of the best banks are US based, but most of the worst banks are...

    - 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 truncates leading 0's for an integer column

    Using functions, especially string functions, in the Where clause, will almost always make a query slower. Frequently, much slower. However, when it's the only way you have to...

    - 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: Lesson #6: What CIOs really care about

    First, datareader and datawriter are dangerous rights to have to grant. Given that you sometimes have to do so, to accommodate poorly designed applications, you have to recognize 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: sql server truncates leading 0's for an integer column

    Pad it with leading zeroes and use the Right() function.

    select Right('00000' + cast(1 as varchar(5)), 5);

    - 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: Msg 102, Level 15, State 1, Line 1 Incorrect syntax near line 1 When running re-index script

    You've got the quotation marks wrong.

    Try this:

    EXEC sp_MSforeachtable @command1= 'PRINT ''?''; ALTER INDEX ALL ON ? REBUILD WITH (ONLINE = ON)'

    Note that the quotation marks around the command are single-quotes,...

    - 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 need some links for competative questions.

    Welsh Corgi (7/10/2011)


    Someone ask me if Kaplan's Self Test Software and Transender violate the NDA?

    Your input is greatly appreciated.

    http://www.selftestsoftware.com/generic.asp?page_id=p00579

    They probably have a contract with Microsoft. That kind of 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: run as for sql server job step

    You have to add agents to the SQL Agent set up.

    You do that through the Proxies tab. You'll have to set up a Credential first (server security).

    As an aside,...

    - 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: How do I display user error messages?

    Usually, your application will capture SQL errors. What are you using for your front-end?

    - 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: Advanced T-SQL Query

    I guess it depends on what you mean by "nested select statements".

    Are you using derived tables?

    select *

    from

    (select Col1, ColA

    from Table1

    inner...

    - 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: Database Space Usage Tips

    How about transaction logs? Any databases running in Full recovery, are the logs getting backed up?

    Do you run backups onto the D drive or somewhere 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

Viewing 15 posts - 3,796 through 3,810 (of 14,953 total)