Forum Replies Created

Viewing 15 posts - 766 through 780 (of 3,348 total)

  • RE: Are the posted questions getting worse?

    Grumpy DBA (2/26/2016)


    For some unknown reason a terrible song has been stuck in my head each morning this week... Sheena Easton's Morning Train. It's equivalent to slow, painful torture....

  • RE: Free text parameter search displays null values

    pwalter83 (2/26/2016)


    Hi,

    In the report I have created, there is an option for the user to enter optional free text for searching. The problem is the report displays matching rows for...

  • RE: Conferences, immersion events, focused training 2016

    benjamin.reyes (2/22/2016)


    PASS Summit

    Seattle, October 25-28, 2016

    Probably the best event you can choose. Lots of sessions going on at the same time, (almost) all from high quality speakers. Covers a broad...

  • RE: use of service broker

    I realize that this is technically not an answer to your question, but that's because I think Service Broker is not the right tool for your problem.

    If inserting data into...

  • RE: Records temporarily "disappear" during update?

    Hi Bantrim,

    Thanks for posting the simplified table structure - details like that can be invaluable in understanding a problem.

    In this case, we may need more details - more on that...

  • RE: Are the posted questions getting worse?

    Jeff Moden (2/19/2016)


    In that same vein, I also won't work for a company that requires you to pass an "intelligence test" or "personality test". They should automatically know that...

  • RE: Using Parameters in a Query is Killing Performance

    ScottPletcher (2/19/2016)


    Sometimes too much emphasis is placed on avoiding some mild fragmentation at the cost of large numbers of added covering indexes which actually cost much more overall overhead.

    In this...

  • RE: Using Parameters in a Query is Killing Performance

    Loner (2/19/2016)


    Here is the actual execution plan with option recompile.

    Thanks

    Hi Loner,

    I do see that the recompile hint worked. The estimated rowcount for the cnsmr_accnt_ar_log table has gone down to 56,827...

  • RE: Using Parameters in a Query is Killing Performance

    ScottPletcher (2/19/2016)


    Log tables are almost always best clustered on a datetime, and virtually never on an identity value.

    When it's an insert datetime, I think that this guess would be right...

  • RE: Using Parameters in a Query is Killing Performance

    ScottPletcher (2/19/2016)


    You should cluster this table on upsrt_dttm instead.

    How can you possibly determine that this should be a good clustering key based on seeing only one single query that uses...

  • RE: How to relaunch my career?

    Phil Parkin (2/19/2016)


    A quick Google search led me here[/url]. I'm sure that you can find others.

    And here is another great resource for free learning: http://www.sqlsaturday.com/%5B/url%5D

  • RE: set Identity_Insert In Trigger works?

    LittleTony (2/19/2016)


    Probably is not the best approch 😉

    It's definitely not the best approach.

    If you must do this, then use the system tables (sys.tables, sys.columns, etc) to generate CREATE TABLE scripts...

  • RE: set Identity_Insert In Trigger works?

    GilaMonster (2/19/2016)


    The cause is detailed in the error message.

    "An explicit value for identity column in table dbo.N8_SPEC_STAT_DELETED can only be specified when a column list is used and IDENTITY_INSERT is...

  • RE: Can Pivot query do

    If the columns required change when the data changes, then you need what is called a "dynamic crosstab". Google for it. Personally, I hate them - they require dynamic SQL...

  • RE: Using Parameters in a Query is Killing Performance

    Thanks for posting the execution plans, table, and query. That makes it a lot easier.

    However, I must unfortunately nag you a bit more - the plans you posted are estimated...

Viewing 15 posts - 766 through 780 (of 3,348 total)