Forum Replies Created

Viewing 15 posts - 10,396 through 10,410 (of 49,566 total)

  • RE: Using (And) OR operators correctly

    Briceston (1/15/2014)


    GilaMonster (1/15/2014)


    I suspect (without any ability to test) that you want this

    WHERE ((([Serial Query].SER_OR_ADM_IND) = 'A'))

    AND t1.DISCHARGE_DISP ! = 'VVX'

    AND t1.VISIT_DATE = CONVERT(varchar,GETDATE(), 101)

    AND (t1.Diag_Code1 =...

  • RE: Using (And) OR operators correctly

    I suspect (without any ability to test) that you want this

    WHERE ((([Serial Query].SER_OR_ADM_IND) = 'A'))

    AND t1.DISCHARGE_DISP ! = 'VVX'

    AND t1.VISIT_DATE = CONVERT(varchar,GETDATE(), 101)

    AND (t1.Diag_Code1 = '' OR...

  • RE: How to give aliase name to column dynamically

    What's the purpose here? Why do you want a column dynamically named (I pity the front end app which uses that)

  • RE: SQL 2000 memory recommendations

    I'm not a fan of dev and prod on the same server (mess up dev and you can take prod down), but don't move just on account of memory, each...

  • RE: Newly Migrated backend DB

    Update or insert a row into a table and check via the front end whether or not you can see the change.

  • RE: SQL 2000 memory recommendations

    Right, standard edition.

    Standard is hard-capped at 2GB of memory. It can't use more so the other 4GB of memory you have on that server is wasted. So the 1.6GB looks...

  • RE: Dynamic Query issue

    When you're debugging or performance tuning, try one thing at a time, test, evaluate, try something else. Change a bunch of stuff and you'll never be able to figure out...

  • RE: SQL 2000 memory recommendations

    Probably means SQL doesn't need more. If you're not running load on it, it won't use more memory than it needs.

    That said, that looks like 32-bit without AWE or /3GB....

  • RE: SQL 2000 memory recommendations

    Plateau (1/15/2014)


    GilaMonster (1/15/2014)


    Oh, and turn boost priority OFF. It's a setting that should almost never be enabled

    Will do Gail, would you mind explaining this?

    Not being argumentative just wanting/trying to understand

    Books...

  • RE: SQL 2000 memory recommendations

    Oh, and turn boost priority OFF. It's a setting that should almost never be enabled

  • RE: SQL 2000 memory recommendations

    Don't use Task Manager to check SQL's memory, it displays incorrect values.

  • RE: Correctly sizing Temp datafiles

    Or, unless you're pressed for space, leave them at 20GB?

  • RE: Are the posted questions getting worse?

    rodjkidd (1/15/2014)


    Oh and I see that @SQLBits has replied saying there will be an announcement soon, just hope it doesn't clash with any of the Saturdays in May / June...

  • RE: Correctly sizing Temp datafiles

    Sort and hash warnings are in-memory operations that don't fit into memory and hence spill to TempDB, they're not an indication that TempDB is too small (that would be autogrow...

  • RE: Dynamic Query issue

    Stuart Davies (1/15/2014)


    But something tells me that the the #temp table won't be visible to the dynamic sql.

    It will be, but since it's not referenced anywhere inside the dynamic SQL...

Viewing 15 posts - 10,396 through 10,410 (of 49,566 total)