Forum Replies Created

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

  • 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" 😉

  • RE: SQLVDI and then Terminate Unexpectedly

    Fraggle-805517 (4/24/2012)


    We have Litespeed set to "Verbose, cleanup on success" so I have stuff that Litespeed is looking into.

    The event logs don't show any restart errors.

    Fraggle.

    a;; of the...

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

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

  • RE: RAID configuration for SQL Server 2008 Database with 8 hard disks

    Orion Pax (4/24/2012)


    So I too proposed a three RAID setup of:

    Drive RAID Cnt ...

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

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

  • RE: SQLVDI and then Terminate Unexpectedly

    Have you enabled Litespeed logging this will provide more info?

    Try checking the windows application and system logs for any potential restart errors

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

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

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