Forum Replies Created

Viewing 15 posts - 5,611 through 5,625 (of 9,244 total)

  • RE: Why is BACKUP DATABASE working for Transaction Log backups?

    Hans Lindgren (4/30/2012)


    should require a RESTORE LOG and not a RESTORE DATABASE.

    Anyone knows why this seems to work?

    That's because the command that will run is a log restore, i ran...

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

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

  • RE: Can you restore a 2008 DB to 2005?

    Dev (4/29/2012)


    It would be lot easier than Export / Import Data Task.

    huh, how do you work that out, they both have the same end result, execute an SSIS package!!

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

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

  • RE: Database log file changed name

    wmlbill (4/26/2012)


    SQL Server 2008 log file named changed

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

    Hi all,

    Some how the log file name on one of my databases changed from dbname_log.ldf to dbname_1.LDF Can anyone explain why this happened?...

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

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

  • RE: get all tables size and rows

    use this

    selectobject_name(i.object_id) as TableName

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

    , i.index_id as IndexID

    , i.type_desc as IndexType

    , p.partition_number as PartitionNo

    , p.rows as NumRows

    , au.type_desc as InType

    , au.total_pages as NumPages

    , au.total_pages / 128 as...

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

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

  • RE: Run SQL Server Scripts using C#

    mark.harby (4/27/2012)


    Should really be using SMO for this sort of thing.

    IMHO

    +1

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

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

  • RE: get all tables size and rows

    Rohit, you need to join allocation_units on the correct columns, let me find my script and post it back shortly

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

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

  • RE: Run SQL Server Scripts using C#

    My preference would be to invoke the SMO objects directly within C# to backup the database

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

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

  • RE: SQLVDI and then Terminate Unexpectedly

    Fraggle-805517 (4/25/2012)


    rudy - Doctor "X" (4/25/2012)


    a few questions ...

    How much RAM on the Windows side ?

    How much RAM is allocated to SQL Server ?

    Are you using any startup trace flags...

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

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

  • RE: WAN failover

    gregtm (4/25/2012)


    It depends, if the replication technology sync's accounts...etc then Database. if not Server level.

    accounts are not synced thats a manual process, so what it is you are trying to...

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

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

  • RE: Quorum ?

    dba92054 (4/25/2012)


    Thanks! How do I fail the Quorum drive over to the other node without restarting the entire server? Or is the only time the Quorum drive on...

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

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

  • RE: Recover sa Password

    paul.knibbs (4/25/2012)


    because you're guaranteed to only have one connection active when you use that. (And he's using Express Edition, so no problem with the Agent... :-)).

    That's just it you're not!...

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

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

  • RE: WAN failover

    gregtm (4/25/2012)


    I've been using log shipping for years and it has worked great...Especially the fact you can delay the restore to protect against corruption or user deletion....etc. However, the Exec's...

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

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

  • RE: Quorum ?

    dba92054 (4/24/2012)


    The Quorum isn't in a group like a 2003 cluster is though. It shows in the Storage section of the Failover Cluster Manager only. Is this normal?...

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

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

  • RE: Want to confirm setup to be able to backup to UNC

    jasona.work (4/24/2012)


    1. Create a local user account on the SQL Server, and a matching account on the share server

    2. Grant the account access to the share and the...

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

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

  • RE: query from dm_db_index_physical_stats

    sqlfriends (4/24/2012)


    Thank you very much, that helps a lot.

    If all you're looking for is index sizes and row counts, etc try this

    selectobject_name(i.object_id) as TableName

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

    , i.index_id as...

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

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

Viewing 15 posts - 5,611 through 5,625 (of 9,244 total)