Forum Replies Created

Viewing 15 posts - 91 through 105 (of 372 total)

  • RE: Update Stats v Tran Log Backup

    I just thought I'd further add that I came across an application where my nightly index rebuild would fail ever so often. Turns out the application would produce temporary...

  • RE: Update Stats v Tran Log Backup

    I have had issues where a reindex/update stats would cause a t-log backup from occurring. So what I do is disable the t-log backup before the reindex begins then...

  • RE: How to check if a differential backup exists with TSQL for email notifications

    I put notifications on the backup jobs so when they fail I'll get notified. Why wouldn't you consider that as a solution vs. running a query to determine the...

  • RE: SYNTAX Help please...

    Reading this post wants me to go back to BOL and read up on ISNULL.... whow.. Note to self.... be very careful posting a question with ISNULL as a part...

  • RE: Query Help Needed

    Sean Lange (12/20/2013)


    sqlnaive (12/20/2013)


    Thanks Sean/Kurt for the wonderful query.

    One update to the requirement and one query.

    Modification is that there might be some students who have only one or two or...

  • RE: Rebuilding Indexes very often is good?

    All of my production databases are not that large. Because of that fact I rebuild all of the indexes and update all statistics in all of my databases as...

  • RE: Query Help Needed

    Here is my solution:

    with details_English_cte (StudentID, Subject, Marks) as (

    select StudentId

    ,Subject

    ,Marks

    from dbo.T_Detail

    where Subject...

  • RE: high cpu

    It would also help by posting the DDL & the code in the Sprocs... Sometimes adding indexes & statistics to a series of tables is like putting lipstick on a...

  • RE: Query Help Needed

    Sean;

    Interesting solution... I had something much like yours getting the same results the only difference is I split out the 3 different subjects into separate CTEs then joining...

  • RE: Today's Random Word!

    SQLRNNR (12/19/2013)


    FDISK

    Format

  • RE: Today's Random Word!

    Ed Wagner (12/19/2013)


    crookj (12/19/2013)


    Ed Wagner (12/19/2013)


    Stuart Davies (12/19/2013)


    JAZZ Master (12/18/2013)


    Ed Wagner (12/18/2013)


    SQLRNNR (12/18/2013)


    Stuart Davies (12/18/2013)


    Cliff Jones (12/18/2013)


    sing4you (12/18/2013)


    JAZZ Master (12/18/2013)


    crookj (12/18/2013)


    Ed Wagner (12/18/2013)


    sing4you (12/18/2013)


    Ed Wagner (12/18/2013)


    BWFC (12/18/2013)


    EL Jerry (12/17/2013)


    Revenant (12/17/2013)


    Ed...

  • RE: Query error: Column name or number of supplied values does not match table definition.

    I have always made it a practice that when I'm inserting into or selecting out of a table I always specify the columns. In your case when you are...

  • RE: SQL job in SP vs SQL job in .exe

    ETL tools of choice for SQL Server is SSIS or SQL Server Integration Service. You can get rather complex with your extract & transforms. There are other third...

  • RE: Cursor or Temp Files?

    On your CTE declaration you have @Pattern, @Room, & @tag. I'd change them to Pattern, Room, & Tag.

    ;with C_ORDERS_CTE (

    co_num,

    co_line,

    item,

    cust_num,

    cust_seq,

    qty_ordered,

    qty_ready,

    qty_shipped,

    promise_date,

    ship_date,

    order_date,

    stat,

    Uf_PJ_AllocatedDate, ---as...

  • RE: Today's Random Word!

    Ed Wagner (12/13/2013)


    Revenant (12/13/2013)


    sing4you (12/13/2013)


    whereisSQL? (12/13/2013)


    Kurt W. Zimmerman (12/13/2013)


    crookj (12/13/2013)


    Ed Wagner (12/13/2013)


    crookj (12/12/2013)


    Fate - oops, I thought that was destiny 🙂

    Duel of the Fates

    Fickle Finger of Fate Award

    Laugh-In

    Laugh-out

    loud

    mouth

    Closed (less talking...

Viewing 15 posts - 91 through 105 (of 372 total)