Forum Replies Created

Viewing 15 posts - 2,101 through 2,115 (of 14,953 total)

  • RE: Trying to Change an Existing Schedule and Edit Job Steps Using T-SQL

    sp_update_schedule: http://msdn.microsoft.com/en-us/library/ms187354.aspx

    sp_update_job: http://msdn.microsoft.com/en-us/library/ms188745.aspx

    sp_add_jobstep: http://msdn.microsoft.com/en-us/library/ms187358.aspx

    - 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: Any Other Problem with NOLOCK other than Dirty Reads?

    As another potential drawback for NoLock, I've actually seen it crash a server, requiring database repair.

    A shared connection (from a web server, of course) ran into two concurrent missing data...

    - 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: Any Other Problem with NOLOCK other than Dirty Reads?

    Rob-350472 (1/30/2012)


    What are the implications of setting "READ_COMMITTED_SNAPSHOT" to ON rather than OFF (the default)?

    I seem to recall looking into this before (ages ago) because it sounded attractive 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: Database Issue--Please Help

    I just copy-and-pasted your script into SSMS and ran it. I had to remove the drive/file specification for the database, but otherwise left it as-is.

    I got the same error...

    - 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: Any Other Problem with NOLOCK other than Dirty Reads?

    SQL Kiwi (1/30/2012)


    GilaMonster (1/30/2012)


    Plus the absolute entertainment of queries occasionally failing with error 601

    No, using nolock on every single query 'just because' is not good practice. There are places it's...

    - 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 Issue--Please Help

    Any error in creating the database?

    I've seen errors on Use commands before, like what you're getting, when there was a problem with the database being created.

    - 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: simple user question

    I've seen it plenty of times. That's why it was my first thought on the subject.

    Have to admit, I've never tried to deny connection on a user before. ...

    - 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: Morale Data

    I think that any company where this would work, it wouldn't be needed. Any company that needs a service like this, it will be abused and won't work. ...

    - 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: Easy way to search for a string any where within XML column?

    You're welcome.

    - 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: Foreign Key reference with Synonym

    Jack Corbett (1/30/2012)


    GSquared (1/30/2012)


    ramadesai108 (1/27/2012)


    Besides triggers, I can also use function. right?

    I don't think so. How would you use a function for this?

    As I said earlier you...

    - 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: simple user question

    SQLRNNR (1/27/2012)


    The user is disabled

    Arrow next to a login at the server level means that. At the user level, it doesn't necessarily. I've got 2 user accounts 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: validate imported spreadsheet data against the original spreadsheet

    Matt Miller (#4) (1/27/2012)


    In terms of validation: you can run aggregate functions in both the excel file and against the table to make suer you end up with consistent...

    - 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: Foreign Key reference with Synonym

    ramadesai108 (1/27/2012)


    Besides triggers, I can also use function. right?

    I don't think so. How would you use a function for this?

    - 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 to read the REAL value of an Excel cell in SSIS Excel Source?

    Koen Verbeeck (1/27/2012)


    GSquared (1/27/2012)


    Completely agreed. Didn't mean to sound like I was coming down on your answer, just wanted to clarify that IMEX won't fix the lost digits piece.

    I...

    - 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: simple user question

    No associated Login at the server level, if I'm not mistaken.

    Query "select * from sys.database_principles" and see what the "sid" column has. If NULL, there's no login associated with...

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