Forum Replies Created

Viewing 15 posts - 36,646 through 36,660 (of 49,562 total)

  • RE: SQL 2008 Log Truncation

    jeremym (9/1/2009)


    If it is shrunk beyond the size it needs to be won't it just allocate more space?

    Yes, and that will force transactions to wait while the log is expanded...

  • RE: Arithmetic overflow

    Bob Hovious (9/1/2009)


    Whups

    😀

  • RE: SQL 2008 Log Truncation

    jeremym (9/1/2009)


    From what I gather the the 0 is the same as unspecified and will decrease the file as much as possible.

    Correct, but that is not a good...

  • RE: ExecPlan: cost is so high but the execution is very fast

    Count the queries or add PRINT statements.

    Did you check the articles I referenced? I'm sure this is mentioned in one of them

  • RE: SQL 2008 Log Truncation

    Apurva (9/1/2009)


    I dont think even red gate has anyhting for readign the log. Not sure now.

    They do, but only for SQL 2000.

  • RE: Blocking

    rajdba (9/1/2009)


    What you think we should do?

    Wait or restart SQL. Those are your only options. Note that if you restart SQL and do not have 2005 Enterprise edition, the...

  • RE: SQL 2008 Log Truncation

    jeremym (9/1/2009)


    I think what I am going to do is script it for an as needed use using the DBCC SHRINKFILE (N'DBName_LOG' , 0, TRUNCATEONLY) command.

    No!

    Firstly, truncateonly is...

  • RE: Arithmetic overflow

    Bob Hovious (9/1/2009)


    Good luck with your 2 a.m. presentation, Gail.

    What 2am presentation?

    p.s. right thread for this question?

  • RE: Blocking

    Elliott W (9/1/2009)


    This was especially true in 2000, almost without fail if I killed a process and it was in the middle of a rollback and then I killed the...

  • RE: Blocking

    Elliott W (8/31/2009)


    If you stop and start SQL I can almost guarantee your database will be corrupted.

    Not at all. If you stop SQL and restart it, it will still...

  • RE: Arithmetic overflow

    sudhanva (9/1/2009)


    Since the column length/type in table is decimal(6,2), i dont want to change the precision and scale.

    The biggest number that you can store in a decimal (6,2) is 9999.99....

  • RE: Slow performance

    timothyawiseman (9/1/2009)


    Similarly, even if SQL is on a server by itself its apparent performance can be slowed down if there is heavy network traffic at the moment.

    I've seen a SQL...

  • RE: Are the posted questions getting worse?

    Alvin Ramard (9/1/2009)


    24 Hours of PASS starts today and I did not get a good night's sleep last night. It's gonna be a fun 2 days.

    Starts tomorrow for me,...

  • RE: ExecPlan: cost is so high but the execution is very fast

    riga1966 (9/1/2009)


    Gila,

    sp_help returns a whole bunch of grids.

    Can I get results as Text?

    Sure, switch output to text rather than grid.

    You can use STATISTICS TIME to see which queries take what...

  • RE: How to return ONE child row for each Parent row?

    Cross Apply forces the subquery to be run once per row of the outer query. A simple join with ROW_NUMBER does not. It's very easy to see the performance characteristics...

Viewing 15 posts - 36,646 through 36,660 (of 49,562 total)