Forum Replies Created

Viewing 15 posts - 121 through 135 (of 190 total)

  • RE: Does Maturity Make a DBA?

    So how about a DBA who does not possess those qualities and does not qualify the criteria you have laid out? What's wrong with them? If I'm reading your editorial...

  • RE: Does Maturity Make a DBA?

    Generally, I would not care if my neighbor was one of the "people of faith" or not. Nor would I care if my neighbor's political views or non-political ways of...

  • RE: Index Fragmentation...

    nathan.holtrop (7/22/2009)


    Ken Simmons (7/21/2009)


    Here is an article about index fragmentation

    http://msdn.microsoft.com/en-us/library/ms189858(SQL.90).aspx

    And here is the script that I am currently using to defrag/rebuild all indexes.

    http://blogs.digineer.com/blogs/larar/archive/2007/07/30/smart-index-defragmentation-for-an-online-world.aspx

    There are several others available as well.

    Ken,

    I...

  • RE: Storing variable values, etc.

    Thank you so much!

  • RE: Storing variable values, etc.

    Slick84 (7/22/2009)


    can I do a select against the @value to see what value its giving me after the update has been executed? in my example the @value should be 222...

  • RE: Storing variable values, etc.

    can I do a select against the @value to see what value its giving me after the update has been executed? in my example the @value should be 222 rows.....

  • RE: Storing variable values, etc.

    How about the below:

    DECLARE @value int

    UPDATECatalogFeedTestDB.dbo.tblProductSizeWidthColor

    SETfbitDeleted = 0

    WHEREfintProductSizeWidthColorId IN

    (

    SELECTpswc.fintProductSizeWidthColorId

    FROMCatalogFeedTestDB.DBO.tblProductSizeWidthColor pswc

    INNER JOINBMBSTAGING.dbo.tblRegularItems ri

    ONri.ItemNo=pswc.fstrLongSku and ri.EdpNo=pswc.fintEcometryId

    WHEREpswc.fbitDeleted = 1 AND ri.Price > 0 --AND pswc.fstrEcometryStatus = 'A1' AND pswc.fstrLongsku LIKE '%FB%'

    )

    SET...

  • RE: Storing variable values, etc.

    lol...

    Thanks! I will try to implement that and provide an update here.

    Btw, I know a lot of people come here to get their code written, and I probably sounded like...

  • RE: Storing variable values, etc.

    Lynn,

    Thanks for the hint it does help. Would it be too much to ask for if you could do this within my update statement ? Or would you need more...

  • RE: Where clause for Composite PK key

    Thats much better.

    The recommended ANSI SQL standard is better to implement within the TSQL code to stay future-proof while also increasing your knowledge of joins which are an integral...

  • RE: Index Fragmentation...

    You could use SQL Profiler to generate a trace file and use that within the Database Index Tuning Wizard.

    Not sure if this is exactly what you are looking for...

  • RE: Where clause for Composite PK key

    Also, from what I've read and learned and experienced, it would be better to use Inner Joins rather than joining within the WHERE clause.

  • RE: Updates first or Inserts first?

    Elliott W (7/20/2009)


    The issue I have seen with SSIS and transaction is two different pipelines in the dataflow can block each other, they do not exist in the same locking...

  • RE: Updates first or Inserts first?

    Jeffrey Williams (7/20/2009)


    PaulB (7/20/2009)


    Slick84 (7/20/2009)


    Would the inserts go first or the updates?

    Two questions...

    1- Are we talking about a small OLTP alike transaction OR are we talking about a large ETL...

  • RE: Updates first or Inserts first?

    PaulB (7/20/2009)


    Slick84 (7/20/2009)


    Would the inserts go first or the updates?

    Two questions...

    1- Are we talking about a small OLTP alike transaction OR are we talking about a large ETL alike transaction?

    2-...

Viewing 15 posts - 121 through 135 (of 190 total)