Forum Replies Created

Viewing 15 posts - 9,391 through 9,405 (of 26,490 total)

  • RE: Cursor Help

    rocky_498 (9/21/2012)


    Hi Guys,

    Here again, This Cursor and Procedure runs fine with no Problem, if i schedule in morning around 5:30am.

    Now i have question is how i can receive...

  • RE: An Indexing Discussion

    The clustered index does not have to be the primary key. Yes, Microsoft recommends that all tables have a custered index. It is even suggested that this index...

  • RE: Billing of Materials query

    CELKO (9/21/2012)


    Celko won't like it because recursive CTEs are a Microsoft specific extension to the SQL syntax. By all means read his book (or any other posts on...

  • RE: How frequently should an update stats job run

    I have seen it where once a week is good enough, but i have also seen it where it needed to be run every two hours to keep the application...

  • RE: DBA Interview Questions needed - Serious only please.

    Abu Dina (9/21/2012)


    as I said, this one question could last an entire interview.... it all depends on how nasty the interviewer wants to be!

    I'm sure some expert will come along...

  • RE: Help writing SQL Server development guide!

    PiMané (9/21/2012)


    Lynn Pettis (9/21/2012)


    My question, however, was asking how you knew it was table lock blocking the second update.

    yep... I was "forcing" it 🙂

    Mess cleaned.. thanks.

    I understood that you were...

  • RE: Do you trust direct to tape backups?

    I prefer to backup disk to disk and let network backups backup those files to tape.

    Plus, we usually keep one or two weeks of backup files available on the network...

  • RE: Help writing SQL Server development guide!

    PiMané (9/21/2012)


    Lynn Pettis (9/21/2012)


    First question I have, how do you know it is a table lock?

    Entire table and indexes locked?!

    Isn't there a way to lock only a row or...

  • RE: Help writing SQL Server development guide!

    PiMané (9/21/2012)


    GilaMonster (9/21/2012)


    SQL does not lock at the table level by default. The locks it takes are based on the amount of data the operation needs, the amount of other...

  • RE: Data Archival

    Still like to see the ddl for the table snd some sample data.

  • RE: Cursor Help

    Sean Lange (9/20/2012)


    Lynn Pettis (9/20/2012)


    Okay, a non-cursor way to accomplish this same task:

    declare @SQLCmd varchar(max);

    select @SQLCmd = (select 'exec insert_sp ' + cast(md.sid as varchar) + ';' + char(13) +...

  • RE: Users/groups

    I'd start with the sys.server_principals (server level) and sys.database_principals (database level, in each database) system views. Look these up in Books Online for more information on them.

  • RE: T-SQL Help Needed

    SomewhereSomehow (9/20/2012)


    Lynn Pettis (9/20/2012)

    I simply refuse to provide him any financial gain from any book I may purchase. His total lack of professionalism that he has demonstrated on this...

  • RE: help with a query

    erics44 (9/20/2012)


    Lynn Pettis (9/20/2012)


    erics44 (9/20/2012)


    Lynn Pettis (9/20/2012)


    erics44 (9/20/2012)


    Lynn Pettis (9/20/2012)


    erics44 (9/20/2012)


    ...

    Luis was able to help because at the time he had no opinion of me or the thread and wasnt...

  • RE: T-SQL Help Needed

    SomewhereSomehow (9/20/2012)


    Nope. Not going to taint you with my personal opinions regard Mr. Celko. Too bad he is a co-author with Itzik on a book as I like...

Viewing 15 posts - 9,391 through 9,405 (of 26,490 total)