Forum Replies Created

Viewing 15 posts - 43,231 through 43,245 (of 49,571 total)

  • RE: Database Shrink

    A shrink will never lose data. Why do you want to shrink your database?

  • RE: Stored Procedure speed versus Select Statement

    Sue (11/11/2008)


    thanks for your hint, Jeff.

    but isn't this better than to give users permissions on tables and generate the whole select statement dynamically as mentioned before?

    But that's pretty much...

  • RE: execution plan not using correct index

    tvantonder (11/11/2008)


    So I now came to the conclusion that the SQL engin is not that smart and will not create the best execution plan.

    The optimiser is quite smart...

  • RE: Stored Procedure speed versus Select Statement

    Patrick Russell (11/11/2008)


    It seems that the dynamicSQL is the way to go, the question is how little. What would be the best way to validate the incoming values to make...

  • RE: ORDER BY in INSERT INTO, how is it done?

    The order by should guarantee the order of the identity values, not the physical insert order. I don't have a ref for that right now, just a comment by one...

  • RE: log file size is increasing

    sramesh02 (11/11/2008)


    Our Sql Server database log file size increasing huge and also not able to shirink database.

    What recovery model is the DB in? How often are you doing log...

  • RE: log file size is increasing

    Kishore.P (11/11/2008)


    run the following DBCC commands:

    DBCC DBREINDEX

    Only if you have several hours of downtime

    DBCC DROPCLEANBUFFERS

    DBCC FREEPROCCACHE

    Not on a production server unless you want IO and CPU load to sharply increase....

  • RE: ORDER BY in INSERT INTO, how is it done?

    Order by is ignored in an insert, except for it's effect on the identity columns. Order of data in a table is a meaningless concept. Tables are unordered sets. If...

  • RE: Nested Transactions - Best Practice

    Adam Hardy (11/10/2008)


    Thanks for the input, but I think you may have miss-read my post, I said I was utilising triggers for data integrity tasks, not business rules.

    Same (even...

  • RE: log file size is increasing

    Please explain your problem in detail.

  • RE: Creative SPAM

    BN Phillips (11/10/2008)


    I recently visited South Africa. In the wonderful country I did a tour of the SA Brewery in Joburg. I am not destined for heaven.... ...

  • RE: Re: Interpreting results for SET STATISTICS IO

    jlp3630 (11/10/2008)


    Given 2 semantically equivalent queries, I'm trying to determine which one is better or worst in terms of performance. The reports relying on these queries take a couple days...

  • RE: Help controlling transaction log growth needed

    Marker (11/10/2008)


    I ran a dbcc sqlperf(LogSpace) on my database and found that the Log Size is currently 30GB. The Log Space Used is only 13%.

    What's the %...

  • RE: execution plan not using correct index

    tvantonder (11/10/2008)


    I can not add this. It takes 3 hours and we are a 24hour company.

    Why not? If you're using enterprise edition, you should be able to build the index...

  • RE: Help controlling transaction log growth needed

    If the difference between the start time and the current time is small, then no. If it's several hours then you need to worry.

    First thing, change the log backup frequency...

Viewing 15 posts - 43,231 through 43,245 (of 49,571 total)