Forum Replies Created

Viewing 15 posts - 46 through 60 (of 148 total)

  • RE: CPU's

    You can utilize the sys.dm_os_sys_info DMV to get this information:

    select cpu_count

    from sys.dm_os_sys_info;

    PowerShell:

    Get-WmiObject -Class Win32_Processor | Select-Object NumberOfCores

  • RE: omit null values

    You're welcome. 🙂

  • RE: omit null values

    I'm guessing this is what you want:

    ;with PodCte

    as

    (

    select

    case

    when month(DueDate) = 5

    then DueDate

    end as DL

    from Purchasing.PurchaseOrderDetail

    )

    select *

    from PodCte

    where DL is not null;

    In your immediate query DueDate isn't necessarily NULL, but since...

  • RE: omit null values

    ReginaR1975 (6/5/2012)


    Didn't work.

    Ok, can you post your whole query with your attempt?

  • RE: omit null values

    ...

    where YourCol is not null

    YourCol would be the column that if it is null you want to omit those rows from the result set.

  • RE: Wrist Support

    Tony Parfitt-465405 (6/3/2012)


    This is not for everyone, but I found that switching to using my left hand on the mouse at home, and my right hand at work relieved a...

  • RE: Wrist Support

    toddasd (6/4/2012)


    Steve Jones - SSC Editor (6/4/2012)


    Take lots of breaks.

    Seriously, that's important. Get up, even for 5 minutes.

    Do some stretches. Google for the various ones for your wrist. Adding some...

  • RE: Is this a network speed Issue?

    GilaMonster (6/5/2012)


    Yes, for exactly the reason I wrote.

    Async Network IO waits are actually not network waits most of the time. They're waits for the client app to acknowledge the resultset,...

  • RE: sql dba notes

    Yes, there's a ton of SQL Server notes out there. You can find experts' knowledge through the many, many books out there on the subject. I have listed...

  • RE: How to decrease Log file size?

    Ok, I think triggers have narrowed my definition of DML, but you are right.

  • RE: How to decrease Log file size?

    GilaMonster (6/3/2012)


    Thomas Stringer (6/3/2012)


    Wouldn't performance would be degraded if the transaction log is often growing or growing with large growth?

    If the log is actively growing, data modifications have to...

  • RE: How to decrease Log file size?

    GilaMonster (6/3/2012)


    Please read through this - Managing Transaction Logs[/url] and this: http://www.sqlservercentral.com/articles/Transaction+Log/72488/

    Performance is not going to be related to the size of the log.

    Wouldn't performance would be degraded if the...

  • RE: What motivates those of you who answer questions?

    In my opinion, there are two benefits in helping others with issues that we are familiar with (i.e. SQL Server, data). The first and most obvious is that there...

  • RE: How to decrease Log file size?

    banda.sai (6/3/2012)


    Performing backup of complete database monthly 2 or 3 times.

    Also hosting team will take regular backups of database. But i don't know which recovery model they are using.

    Currently performance...

Viewing 15 posts - 46 through 60 (of 148 total)