Forum Replies Created

Viewing 8 posts - 106 through 114 (of 114 total)

  • RE: ReportServerTempDB_log size

    Another question. Is the recovery interval set to zero? If it not, then SQL will only shrink down transactions within the available time window. (even when set to...

    --------------------------------------------------------------------------
    When you realize you've dug yourself into a hole....Step 1...stop digging.

  • RE: ReportServerTempDB_log size

    Maggie,

    Is the tempDB log database set to a simple recovery?

    --------------------------------------------------------------------------
    When you realize you've dug yourself into a hole....Step 1...stop digging.

  • RE: Passing Negative Integer Value To Stored Procedure INT Parameter

    can you send an example of how you are executing the proc?

    Also how you actually execute the SELECT manually might point out the problem. I'm curious if...

    --------------------------------------------------------------------------
    When you realize you've dug yourself into a hole....Step 1...stop digging.

  • RE: Select Count using multiple columns

    I believe the following would suffice:

    select count(tel1) + count(tel2) + count(tel3) from table1

    --------------------------------------------------------------------------
    When you realize you've dug yourself into a hole....Step 1...stop digging.

  • RE: ODD SQL Behavior

    My guess is one of the other fields does not exist. You are checking the CLIENT_ID field but you are not checking the other fields. Are you sure...

    --------------------------------------------------------------------------
    When you realize you've dug yourself into a hole....Step 1...stop digging.

  • RE: create View using PARTITION BY

    How you implemented it is how you do it.

    🙂

    --------------------------------------------------------------------------
    When you realize you've dug yourself into a hole....Step 1...stop digging.

  • RE: High CPU on SQL 2008 64BIT

    I'm not overly familiar with the PREEMPTIVE waits, but the LAZYWRITER_SLEEP is just SQL waiting to run the next checkpoint.

    Have you tried running sp_who2 during this time?

    --------------------------------------------------------------------------
    When you realize you've dug yourself into a hole....Step 1...stop digging.

  • RE: Sitt Trigger Monitoring Query - monitoring a date field

    i believe you are looking for the datediff() function.

    Try this:

    DECLARE @LastRun DateTime

    select @LastRun = max(sitDateTime) from mfSitPosition

    if datediff(mi,@LastRun,getdate()) > 30

    BEGIN

    EXEC yourstoredprocname

    END

    --------------------------------------------------------------------------
    When you realize you've dug yourself into a hole....Step 1...stop digging.

Viewing 8 posts - 106 through 114 (of 114 total)