Forum Replies Created

Viewing 15 posts - 4,366 through 4,380 (of 9,241 total)

  • RE: comparing two tables with similar columns

    ChrisM@home (1/24/2013)


    How about EXCEPT?

    +1

    -----------------------------------------------------------------------------------------------------------

    "Ya can't make an omelette without breaking just a few eggs" 😉

  • RE: Orphaned Transaction Log File Issue

    I would use the sys.database_files catalog and compare that against sys.master_files

    -----------------------------------------------------------------------------------------------------------

    "Ya can't make an omelette without breaking just a few eggs" 😉

  • RE: Failover clustering with Database Mirroring

    SQL* (1/24/2013)


    Hi,

    Thanks,

    But can you tell me any scenarios where we can use Clustering/Mirroring together.

    I'll keep this brief as there are already a wealth of articles and white papers on...

    -----------------------------------------------------------------------------------------------------------

    "Ya can't make an omelette without breaking just a few eggs" 😉

  • RE: Setting log shipping in AlwaysOn environment

    If you have availability groups set up and working why on earth do you want to use Log Shipping?

    This details how to migrate from Log Shipping to AO groups, this...

    -----------------------------------------------------------------------------------------------------------

    "Ya can't make an omelette without breaking just a few eggs" 😉

  • RE: How to find if a job ran successfully?

    and all that's easier than a quick check in the dbo.sysjobhistory table??

    -----------------------------------------------------------------------------------------------------------

    "Ya can't make an omelette without breaking just a few eggs" 😉

  • RE: SQL Server Network Name

    NJDave (1/23/2013)


    Hello

    I am installing SQL Server 2008 R2 Enterprise on a 2 node cluster and reached the instance configuration in the wizard. There is a field to complete labeled "SQL...

    -----------------------------------------------------------------------------------------------------------

    "Ya can't make an omelette without breaking just a few eggs" 😉

  • RE: How to find if a job ran successfully?

    selectj.name

    , convert(smalldatetime, convert(varchar(20), max(jh.run_date)))

    , CASE jh.run_status

    WHEN 0 THEN 'Failed'

    WHEN 1 THEN 'Success'

    WHEN 2 THEN 'Retry'

    WHEN 3 THEN 'Cancelled'

    END AS Run_Status

    from msdb.dbo.sysjobs j

    inner join msdb.dbo.sysjobhistory jh on

    j.job_id = jh.job_id

    where j.name =...

    -----------------------------------------------------------------------------------------------------------

    "Ya can't make an omelette without breaking just a few eggs" 😉

  • RE: Rebuild Info

    runal_jagtap (1/23/2013)


    TableNameIndexNameIndexTypePartitionNoNumRowsInTypeNumPagesTotKBsUsedKBsDataKBs

    TestHEAPHEAP11024112IN_ROW_DATA4465357203539235384

    😉

    -----------------------------------------------------------------------------------------------------------

    "Ya can't make an omelette without breaking just a few eggs" 😉

  • RE: Rebuild Info

    Execute the following against your database and substitute the table name in the WHERE predicate and post the results back please

    SELECTOBJECT_NAME(i.object_id) AS TableName

    , ISNULL(i.name, 'HEAP') AS IndexName

    , i.type_desc AS IndexType

    ,...

    -----------------------------------------------------------------------------------------------------------

    "Ya can't make an omelette without breaking just a few eggs" 😉

  • RE: Failover restart policies

    Sean cavanagh (1/23/2013)


    Perry,

    Thanks for your response. I will definitely look into your guide for creating a virtual sandpit.

    Do, you'll find it extremely useful 😉

    The help states the following as you...

    -----------------------------------------------------------------------------------------------------------

    "Ya can't make an omelette without breaking just a few eggs" 😉

  • RE: Creating an Active/Passive cluster

    foxxo (1/23/2013)


    Also, you need to install the 2nd instance from the 1st node, then fail it over.

    Actually, no you don't!

    chandrakant_gaurav (1/23/2013)


    Yes correct. Existing cluster needs to remain untouched...

    -----------------------------------------------------------------------------------------------------------

    "Ya can't make an omelette without breaking just a few eggs" 😉

  • RE: Failover clustering with Database Mirroring

    SQL* (1/23/2013)


    hi all,

    I'm learning these HA/DR things.

    "Failover clustering with Database Mirroring"

    What does it means?

    Clustering: Two nodes being synchronized. (Physically & SQL Server level)

    Mirroring: Primary & Secondary (Standby server).

    Not quite...

    -----------------------------------------------------------------------------------------------------------

    "Ya can't make an omelette without breaking just a few eggs" 😉

  • RE: Moving Datab from one datafile to another

    Of course!

    -----------------------------------------------------------------------------------------------------------

    "Ya can't make an omelette without breaking just a few eggs" 😉

  • RE: Moving Datab from one datafile to another

    Or empty and remove files in the current file group 😉

    -----------------------------------------------------------------------------------------------------------

    "Ya can't make an omelette without breaking just a few eggs" 😉

  • RE: Moving Datab from one datafile to another

    Raghavender (1/22/2013)


    I need to move only some tables to other data file which is on same file group.

    Not the whole data file.

    That's not how it works, objects can only be...

    -----------------------------------------------------------------------------------------------------------

    "Ya can't make an omelette without breaking just a few eggs" 😉

Viewing 15 posts - 4,366 through 4,380 (of 9,241 total)