Forum Replies Created

Viewing 15 posts - 691 through 705 (of 6,041 total)

  • RE: Error: Cannot insert duplicate key row in... a non-unique index?!

    RAThor - Tuesday, December 18, 2018 7:35 AM

    Eric M Russell - Monday, December 17, 2018 12:05 PM

    "Do not seek to follow in the footsteps of the wise. Instead, seek what they sought." - Matsuo Basho

  • RE: Entity-Attribute-Value is evil ? how to avoid...

    I don't think we should shape and force a RDMS like SQL Server to act something like a EAV or document database. We've got more data storage options inside SQL...

    "Do not seek to follow in the footsteps of the wise. Instead, seek what they sought." - Matsuo Basho

  • RE: Entity-Attribute-Value is evil ? how to avoid...

    Jeff Moden - Tuesday, December 18, 2018 8:00 AM

    Eric M Russell - Tuesday, December 18, 2018 7:45...

    "Do not seek to follow in the footsteps of the wise. Instead, seek what they sought." - Matsuo Basho

  • RE: Entity-Attribute-Value is evil ? how to avoid...

    Entity-Attribute-Value tables are good for modeling operational configuration data; things like configuration strings, thresholds, and client implementation settings. The benefit is that it allows the application developers to easily create...

    "Do not seek to follow in the footsteps of the wise. Instead, seek what they sought." - Matsuo Basho

  • RE: Error: Cannot insert duplicate key row in... a non-unique index?!

    I'm going to look into setting up a trace to capture the insert statements tonight, hoping to get the execution plan and other session settings like isolation level. They...

    "Do not seek to follow in the footsteps of the wise. Instead, seek what they sought." - Matsuo Basho

  • RE: Error: Cannot insert duplicate key row in... a non-unique index?!

    ScottPletcher - Monday, December 17, 2018 12:57 PM

    Eric M Russell - Monday, December 17, 2018 12:50 PM

    "Do not seek to follow in the footsteps of the wise. Instead, seek what they sought." - Matsuo Basho

  • RE: Error: Cannot insert duplicate key row in... a non-unique index?!

    I'm not on the ETL team, so I can't vouch for the specifics of why the table / indexes were modeled the way they are. However, it appears the index...

    "Do not seek to follow in the footsteps of the wise. Instead, seek what they sought." - Matsuo Basho

  • RE: Error: Cannot insert duplicate key row in... a non-unique index?!

    I have confirmed with the ETL developers that they are using READ COMMITTED ISOLATION on both remote source database and target database.

    The version of the source database server...

    "Do not seek to follow in the footsteps of the wise. Instead, seek what they sought." - Matsuo Basho

  • RE: Error: Cannot insert duplicate key row in... a non-unique index?!

    ScottPletcher - Monday, December 17, 2018 12:11 PM

    None of those indexes match the name in the error message.

    What is the DDL for...

    "Do not seek to follow in the footsteps of the wise. Instead, seek what they sought." - Matsuo Basho

  • RE: The Wild Developers of SQL Server like Wildcards

    Outside the context of ETL staging, if your application must resort to pattern matching on varchar columns when joining tables or filtering rowsets, then your data model is to some...

    "Do not seek to follow in the footsteps of the wise. Instead, seek what they sought." - Matsuo Basho

  • RE: TOP vs Max/Min: Is there a difference?

    Also, keep in mind that MIN and MAX are scalar operations, so they will always return a value, like a value of NULL for an empty table. However, SELECT TOP...

    "Do not seek to follow in the footsteps of the wise. Instead, seek what they sought." - Matsuo Basho

  • RE: The Number that shouldn't be a number

    t.franz - Thursday, December 13, 2018 8:46 AM

    Worst data types: I've seen money values, that are usually < 100 EUR be stored...

    "Do not seek to follow in the footsteps of the wise. Instead, seek what they sought." - Matsuo Basho

  • RE: The Number that shouldn't be a number

    Another issue is date/times contained in VARCHAR columns. 

    The ISO standard for formatting date strings is YYYYMMDD, and the following check constaint will not only require that the string...

    "Do not seek to follow in the footsteps of the wise. Instead, seek what they sought." - Matsuo Basho

  • RE: The Number that shouldn't be a number

    If you're debating whether something like phone number or zip code should be contained as a varchar versus an integer, then I'd rather err on the side of varchar. For...

    "Do not seek to follow in the footsteps of the wise. Instead, seek what they sought." - Matsuo Basho

  • RE: Where Microsoft went wrong with SQL CLR

    I don't have a problem with Microsoft's technical implementation of CLR functions in SQL Server. It's just that when folks want execute C# or VB.NET from SQL Server queries, it...

    "Do not seek to follow in the footsteps of the wise. Instead, seek what they sought." - Matsuo Basho

Viewing 15 posts - 691 through 705 (of 6,041 total)