Forum Replies Created

Viewing 15 posts - 106 through 120 (of 149 total)

  • RE: SQL Database moved under System Databases by mistake

    if you have enough space,

    then I will suggest

    1.take a back up of the database and restore it on the same server with different name,

    2. and then rename the db...

    -----------------------------------------------------------------------------
    संकेत कोकणे

  • RE: shrinking logfile in SQL 2008

    Arthur Kirchner (11/6/2012)


    2005s "backup log XXX with truncate_only" was wonderful, they should have kept it.

    And I'm Glad that they removed this option from 2008 🙂

    -----------------------------------------------------------------------------
    संकेत कोकणे

  • RE: Variable Parameter list for for procedure

    You can use default Stored Procedure Template from Template Explorer.

    it will help you

    SSMS > View > Template Explorer > Stored Procedure

    -----------------------------------------------------------------------------
    संकेत कोकणे

  • RE: Need to run several maintenance scripts

    if you are feasible to work in data center or where the physical server is kept,

    you can pull out the network cable connected to your server machine .

    but before ...

    -----------------------------------------------------------------------------
    संकेत कोकणे

  • RE: Backup & Restore

    go for this

    http://blog.sqlauthority.com/2011/12/23/sql-server-a-quick-script-for-point-in-time-recovery-back-up-and-restore/

    or for all about backup and restore

    http://www.sqlbackuprestore.com/introduction.htm

    -----------------------------------------------------------------------------
    संकेत कोकणे

  • RE: Having a SQL 2008 R2 Database in Memory

    in your this case you don't need /PAE option ..as you are using 64 bit machine

    I hear you on that one and not like that option/switch very much.

    There are some...

    -----------------------------------------------------------------------------
    संकेत कोकणे

  • RE: SQL Server Agent service failed to start, windows 7

    Which edition of SQl server you are using ?

    -----------------------------------------------------------------------------
    संकेत कोकणे

  • RE: Modifying a SQL 2000 maintenance plan -- and shrinking

    GilaMonster (11/5/2012)


    sanket kokane (11/5/2012)


    also as per the above person said never shrink your data file,it makes your indexes completely unused

    No, it does not. It fragments indexes, doesn't make them unusable,...

    -----------------------------------------------------------------------------
    संकेत कोकणे

  • RE: Having a SQL 2008 R2 Database in Memory

    GilaMonster (11/5/2012)


    sanket kokane (11/5/2012)


    What I was mean to say is consider enabling /PAE as your last option.

    If running SQL on 32-bit OS with more than 4GB of memory, /PAE is...

    -----------------------------------------------------------------------------
    संकेत कोकणे

  • RE: Having a SQL 2008 R2 Database in Memory

    Koen Verbeeck (11/5/2012)


    sanket kokane (11/5/2012)


    Also consider this as your very last options.

    To speed up your DB check,first check if there any scope for Query Tuning.

    I wouldn't consider this the...

    -----------------------------------------------------------------------------
    संकेत कोकणे

  • RE: Having a SQL 2008 R2 Database in Memory

    Also consider this as your very last options.

    To speed up your DB check,first check if there any scope for Query Tuning.

    -----------------------------------------------------------------------------
    संकेत कोकणे

  • RE: Having a SQL 2008 R2 Database in Memory

    Is your production machine 32- bit ?

    if yes ,you need to add /PAE option in your boot.ini file .

    http://support.microsoft.com/kb/283037

    But I will recommend before doing this discuss with your system admin...

    -----------------------------------------------------------------------------
    संकेत कोकणे

  • RE: Having a SQL 2008 R2 Database in Memory

    Sorry,this is with proper code format 🙂

    SELECT DB_NAME(database_id) AS [Database Name],

    COUNT(*) * 8/1024.0 AS [Cached Size (MB)]

    FROM sys.dm_os_buffer_descriptors

    WHERE database_id > 4 -- system databases

    AND database_id <> 32767 -- ResourceDB

    GROUP...

    -----------------------------------------------------------------------------
    संकेत कोकणे

  • RE: Daily Differential Backup Job Failing

    I cant see Error text :blink:

    -----------------------------------------------------------------------------
    संकेत कोकणे

  • RE: Having a SQL 2008 R2 Database in Memory

    this might help you

    SELECT DB_NAME(database_id) AS [Database Name],

    COUNT(*) * 8/1024.0 AS [Cached Size (MB)]

    FROM sys.dm_os_buffer_descriptors

    WHERE database_id > 4 -- system databases

    AND database_id <> 32767 -- ResourceDB

    GROUP BY DB_NAME(database_id)

    ORDER BY [Cached...

    -----------------------------------------------------------------------------
    संकेत कोकणे

Viewing 15 posts - 106 through 120 (of 149 total)