Forum Replies Created

Viewing 15 posts - 1 through 15 (of 26 total)

  • RE: Temdb issue

    Agreed, but this is a test server and if I set the Tempdb to 2GB it will re-size to 2GB. But if I restart the SQL Service it will go...

  • RE: Help with query

    Hope this helps. I only want row one if row two doesn't exist. The second column is the version number. So if there is a version_number >1 then I don't...

  • RE: DB Maintence Plan

    What version of SQL do you have? The query above is correct for SQL 2005 if your running SQL 2000 try this

    s.plan_name AS [Name],

    s.date_created AS [CreateDate],

    s.owner AS [Owner]

    FROM

    msdb.dbo.sysdbmaintplans AS s

    ORDER...

  • RE: tempdb has grown x16 in a few hours

    nothing much in the error logs and the tempdb is not set to Auto Shrink. It looks like I just need to run a shrink against it. Should I set...

  • RE: Beyond the basic query

    how would I remove the seconds from the date so it just displays the mm/dd/yyyy?

  • RE: Beyond the basic query

    Yes!!! Thank you

  • RE: Help with trending db growth

    yeah I tried that but I can't figure out how to do it without it summing the db size field

  • RE: return yes/no rather than true/false

    hmmm how would I handle a NULL values?

  • RE: return yes/no rather than true/false

    thanks Ken that worked for me!

  • RE: Help with delete command

    Sweet!! that worked. Thanks guys!

  • RE: Help with delete command

    I ran the code that Jerry posted

    DELETE PW -- COUNT(1)

    FROM performance_esx3_workload PW

    INNER JOIN performance_sample PS

    WHERE PW.sample_id = PS.id

    AND PS.sample_time < '2008-07-01'

  • RE: Help with delete command

    I get a syntax error

    Incorrect syntax near the keyword 'WHERE'

    any ideas?

  • RE: index question

    I should'nt have said Truncate, I don't want to remove all the data just older records. I will be deleteing around a 700,000 rows. I'm not sure how the index...

  • RE: index question

    sp_spaceused

    name = performance_sample

    rows = 11479644

    reserved = 1543736 KB

    data = 499120 KB

    index_size = 1044464 KB

    unused = 152 KB

    USE [UpTime]

    GO

    /****** Object: Table [dbo].[performance_sample] Script Date: 10/13/2008 14:23:35 ******/

    SET...

  • RE: index question

    I have checked that and the index is just big

    Page Fullness = 99.35%

    Total fragmentation = 0.01%

    Leaf-level rows = 131652200

    Maximum row size = 187

    Minimum row size = 125

    Pages = 2399128

Viewing 15 posts - 1 through 15 (of 26 total)