Forum Replies Created

Viewing 15 posts - 13,666 through 13,680 (of 49,552 total)

  • RE: Are the posted questions getting worse?

    Lynn Pettis (3/29/2013)


    The only overhead not involved is the recovery process when SQL Server starts up.

    Not quite, there is less logging overhead on data modifications. TempDB is optimised for lots...

  • RE: Are the posted questions getting worse?

    Lynn Pettis (3/29/2013)


    And now for something completely different:

    The advantage to tempdb is that there is less overhead writing data there since SQL "knows" it never has to recover tempdb.

    OMG!...

  • RE: multiple execution plans - not sure why?

    sqldba_newbie (3/29/2013)


    Within Confio (Ignite) and also when i run manually, i can see the plan handles are different.

    Can't help you with just that info. There's a lot of things that...

  • RE: multiple execution plans - not sure why?

    sqldba_newbie (3/29/2013)


    I can see that every time it is creating a new execution plan. I took the stored procedure ,opened two sessions in ssms and executed the sproc. I do...

  • RE: Shrinking data file / Move database

    The alternative for shinking is to move objects to a second filegroup and drop the original filegroup. However you can't do that because the original filegroup is primary and primary...

  • RE: Multiple order by in a result set

    santhosh_ms3 (3/29/2013)


    I have a specific requirment where a table contains a column called ‘Empno’ with the values 12, 34, 3, 78, 65, 109, 8. I want first three values(12, 34,...

  • RE: Multiple order by in a result set

    deepkt (3/29/2013)


    Try this:

    SELECT TOP 3 EMPID FROM EmpTable

    UNION ALL

    (

    SELECT EMPID FROM EmpTable

    EXCEPT

    SELECT TOP 3 EMPID FROM EmpTable

    )

    Top without order by = inconsistent results. With that, SQL will give...

  • RE: LDF is IDF instead

    Hemant.R (3/29/2013)


    As mention ,log file extension idf .Database is accessible but in case of attach detach process it might create problem .

    It won't create any problems at any time....

  • RE: Shrinking data file / Move database

    Loundy (3/28/2013)


    I'm not sure what type of stats update would be necessary here - probably a full scan.

    None. Shrinking a DB doesn't affect the stats so there's no need...

  • RE: DBCC SHRINKFILE print out issues

    Before you go and harm your databases with this, please take a read through this - Managing Transaction Logs[/url]

    I'm going to guess you have no log backups and hence the...

  • RE: transaction log size reduction

    Sure, look it up on the server properties window, in sys.configurations or sp_configure.

  • RE: Deadlock info without using Profiler?

    Ness (3/28/2013)


    There is also the sys.dm_tran_locks DMV

    That doesn't show deadlocks. It shows granted and waiting locks. There's no DMV that shows deadlock info

  • RE: Deadlock info without using Profiler?

    The traceflag 1222 (don't use 1204, it's SQL 2000 and before). Extended events system health session too it runs automatically so all you need to do there is query it.

  • RE: transaction log size reduction

    sqlfriends (3/28/2013)


    ganasulochana (3/28/2013)


    If the database is in Full recovery model then you can able to take the log backup.

    for simple recovery mode, when it will do the checkpoints?

    Checkpoint runs on...

  • RE: Restore verifyonly on the last backup

    Restore it.

Viewing 15 posts - 13,666 through 13,680 (of 49,552 total)