Forum Replies Created

Viewing 15 posts - 2,656 through 2,670 (of 5,843 total)

  • RE: Primary key or not to primary key, that is the question

    1) if you are worried with space, GUIDs have no place in your system.

    2) why aren't you using NEWSEQUENTIALID??

    3) Your PK on the parent does a clustered index on the...

  • RE: sp_updatestats and the default sampling rate

    inHouseDBA (3/12/2013)


    Gurus, Any more suggestions?

    1) My suggestion is that you get a professional on board for a few days to completely review and improve your entire maintenance process. Managing...

  • RE: SQL architecture

    ramyours2003 (3/18/2013)


    Can any one explain the SQL architecture

    Forums are for short, targeted assistance. Your question is most decidedly neither! :w00t: I could talk for a week straight...

  • RE: First and Last number

    Eugene Elutin (3/18/2013)


    SELECT TransactionID, MIN(VoucherNo) , MAX(VoucherNo )

    FROM yourtable

    GROUP BY TransactionID

    Just a small point, but this only works as long as the values are fixed width and zero padded. ...

  • RE: maxdop doesn't take effect?

    sqldba_newbie (3/18/2013)


    opc.three (3/18/2013)


    Cost estimate compared to the Cost threshold for parallelism setting. The QO is a cost-based optimizer.

    Thanks. Do you mean Cost from estimate plan?

    When a query is first run...

  • RE: Shrink Log file for all Databases

    reddi_arjun (3/18/2013)


    Thanks a lot.

    The script was very helpful.

    PLEASE DO NOT DO THIS!!! IT IS A HORRIBLE, HORRIBLE THING TO DO ON YOUR SQL SERVER!!!

  • RE: Instance won't start after changing Processor Affinity

    Given the hardware budget squeeze I didn't expect "management" to understand the real value of a good consultant/mentor. Damn shame is about all you can say to that.

    Good luck...

  • RE: Page life expectancy diving to sub-10 on a 128 GB server

    I'm not sure what happened to this forum, the level of courtesy and respect seems to have dropped off. Perhaps it has become too cliquey.

    1) I was (as I...

  • RE: Instance won't start after changing Processor Affinity

    In my experience the best way BY FAR to become an expert (certainly at such a complex system as SQL Server) is to be MENTORED by an expert. So...

  • RE: DR/HA proposal

    opc.three (3/12/2013)


    Yes, consider hiring someone who has setup DR/HA before to guide you through the process.

    +100

  • RE: Instance won't start after changing Processor Affinity

    Thought just occurred to me: have you checked the BIOS settings in both servers to see if there is a difference there that could be causing "identical" machines to not...

  • RE: Instance won't start after changing Processor Affinity

    cryovenom: based on many things in your various posts you (and your company) REALLY REALLY need to do themselves a favor and get a good professional on board to help...

  • RE: CASE in WHERE clause

    Note, this isn't just about the WHERE clause. You can also potentially eliminate complete hits (joins) on tables if you don't actually need to filter on them based on...

  • RE: CASE in WHERE clause

    RVO (3/14/2013)


    I tried this

    select * from IndustryMap

    WHERE 1 =1

    AND id_cusip = COALESCE(@cusip,id_cusip)

    AND ticker = COALESCE(@ticker,ticker)

    AND exch_code = COALESCE(@exchangeCode,exch_code)

    and was ready to scream Hurray but realized that

    when any of the columns...

  • RE: How to make triple-pass UPDATE single-pass?

    Hmm, I wonder what happens if the codeid's repeat instead of being unique across all 3 code tables. Hopefully the way the aggregates are done will factor the Cartesian...

Viewing 15 posts - 2,656 through 2,670 (of 5,843 total)