Forum Replies Created

Viewing 15 posts - 8,731 through 8,745 (of 9,713 total)

  • RE: Handling Tempdb space full situtation?

    It Depends... (a DBA's favorite answer).

    There is no right or wrong way in this situation. There is only your situation.

    My advice is to set up a job...

  • RE: Handling Tempdb space full situtation?

    GilaMonster (7/24/2008)


    Brandie Tarvin (7/24/2008)


    Sheer laziness or the inability to properly determine the growth rate of your DB. @=)

    My main system is more a datawarehouse than anything. It grows and...

  • RE: Move System Databases

    20GB should be fine so long as you don't put any SQL Server databases (including system DBs) on your C: drive.

    Usually I reserve C: drive for the OS and for...

  • RE: Handling Tempdb space full situtation?

    Gail,

    AHHH. We're not encountering latch errors, but I haven't split the TempDB for the same reason I haven't split out other DBs. It didn't make sense from an...

  • RE: Handling Tempdb space full situtation?

    Sheer laziness or the inability to properly determine the growth rate of your DB. @=)

    Actually, our unrestricted DBs tend to be in our DEV environments where we're unsure of...

  • RE: Need advice on SOX compliant policy for access to generic admin accounts.

    SOX compliance....

    Here's what you need to do. Be warned, it is TEDIOUS and work intensive.

    First, list out every account you have in SQL Server with that account's permissions and db...

  • RE: Handling Tempdb space full situtation?

    Angie,

    We actually have some DBs with UNRESTRICTED on them, but on the other hand, we also have several Alerts and jobs set up to monitor Hard Drive space. When...

  • RE: Can someone please help with this script

    I just cut-n-pasted this into SSMS verses my SQL 2000 db. It appears you're only getting Syntax errors. Run a check against the code, double-click the error and...

  • RE: Handling Tempdb space full situtation?

    I'd really love to have enough partitions in my SAN to have more than one file for my TempDB. @sigh. Gail, you're making me jealous. @=)

  • RE: Arithmetic Query

    Wow, I did not read your response carefully enough...

    Is this okay

    CASE WHEN ISNULL(SUM(QuantityShipped), 0) = 0 THEN 0

    ELSE SUM(T_OrderLine.[Unit Price] * T_OrderLine.QuantityShipped) / SUM(T_OrderLine.QuantityShipped) END AS [A.S.P]

    When I say...

  • RE: Arithmetic Query

    B_Boy,

    Syntax-wise, it is acceptible to put the ISNULL outside of the SUM, but practically speaking, it's a bad idea.

    If there is one single NULL value in the column you are...

  • RE: Arithmetic Query

    And I would STRONGLY urge you to use a CASE statement to verify your QuantityShipped is not NULL or Zero or you will, at some point in the future, get...

  • RE: Arithmetic Query

    The error message means exactly what it says. Right above your ORDER BY, you need a GROUP BY statement that lists out every field that is not aggregated in...

  • RE: Move System Databases

    Why bother copying the files for TempDB? It practically gets "recreated" every time the service gets stopped. Just run the Alter Database command on the files, stop the...

  • RE: Many-to-Many relationships with foreign key constraints?

    And yet a poorly written ETL process could inadvertantly orphan records. Since I might not be the only person writing ETL processes (we're starting out with two DB sources,...

Viewing 15 posts - 8,731 through 8,745 (of 9,713 total)