Forum Replies Created

Viewing 15 posts - 44,131 through 44,145 (of 49,571 total)

  • RE: Migrating from SQL 2000 to SQL 2008

    In 80 compat mode, none of the new 2005 or 2008 features will work. This includes (but is not limited to)

    CTEs

    Index Include columns

    Table partitioning

    OUTPUT clause

    XML enhancements

    CLR

    TRY..CATCH error handling

    DDL triggers

    Ranking functions

    DDL...

  • RE: Database help

    tfang (9/30/2008)


    Anyways, the problem is the transaction log file for the database. The log file is extremely large. So large that it took up all the disk space, thus, it...

  • RE: Help With SQL Update Query

    vanessachase81 (9/30/2008)


    I am trying to join Orders.EEID to Shipping.EEID

    Yes, but how does that relate to the row that you're trying to update in OrderDetails?

  • RE: Re: Short-circuiting a query

    Don't we all.

    Oh, and on SQL 2008, I get the following results for those two queries:

    Subqueries: (35% cost)

    Table 'Person'. Scan count 0, logical reads 45

    Table 'Worktable'. Scan count 0, logical...

  • RE: Best Ways to Audit a Production Instance

    Are you looking to audit all data changes, or all queries run against the server?

  • RE: Re: Short-circuiting a query

    Grant Fritchey (9/30/2008)


    I must be regurgitating bad stuff again. Sorry. It's when it's a delimited list that it behaves like that, right?

    You mean something like this?

    select ProductID from Sales.SalesOrderDetail where...

  • RE: Maintanance job/Schedule jobs

    yulichka (9/30/2008)


    Transaction logs should be two seperate jobs one for system, one for user right? Thank you

    Most (if not all) of the system databases are in simple recovery model and...

  • RE: Help With SQL Update Query

    What's the join between orders and orderdetails?

  • RE: Help With SQL Update Query

    Try something like this:

    UPDATE OrderDetails

    SET ShipID = LatestShipping

    from OrderDetails INNER JOIN

    (Select EEID , MAX(Shipping.ShipID)...

  • RE: Clustering vs. Mirroring, and Maybe Load Balancing?

    Clustering is for redundancy of the entire server, mirroring is for redundancy of individual databases. They both have their place and neither is a replacement for the other.

    Neither is a...

  • RE: Maintanance job/Schedule jobs

    I prefer integrity before database backup, as there's no point in backing up a corrupt database.

    Log backups shouldn't go in the same maint plan, as you need to run them...

  • RE: Re: Short-circuiting a query

    Grant Fritchey (9/30/2008)


    It depends...

    IN basically is an OR statement. It's one of those hidden RBAR (row-by-agonizing-row, TM: Jeff Moden) operations because it's going to check each row of the IN...

  • RE: Why 249 is the limit on NonClustered indexes?

    I think that it was a tinyint in SQL 7 or earlier. I know it was at one point.

    It's a full int in SQL 2008 (at least if you look...

  • RE: Standards for Stored Proc Portability

    Jason Crider (9/30/2008)


    So how would you work that in practice?

    Do you setup a standard where you say the linked server name is the same in dev and prod?

    Just so. I...

  • RE: CHECKPOINT killing our production box

    Checkpoint doesn't happen once a day. Do you perhaps have an agent job that kicks off around the same time?

    The frequency of the checkpoint is determined by the amount of...

Viewing 15 posts - 44,131 through 44,145 (of 49,571 total)