摘要: Using more than one index per table is dangerous? 问题 In a former company I worked at, the rule of thumb was that a table should have no more than one 阅读全文
posted @ 2021-06-01 17:26 ChuckLu 阅读(61) 评论(0) 推荐(0)
摘要: Multiple Indexes vs Multi-Column Indexes 问题 I've just been adding an Index to a table in SQL Server 2005 and it got me thinking. What is the differenc 阅读全文
posted @ 2021-06-01 17:10 ChuckLu 阅读(45) 评论(0) 推荐(0)
摘要: SQL Server Index Naming Conventions [closed] 回答1 I use PK_ for primary keys UK_ for unique keys IX_ for non clustered non unique indexes UX_ for uniqu 阅读全文
posted @ 2021-06-01 17:06 ChuckLu 阅读(54) 评论(0) 推荐(0)
摘要: What's different between INTERSECT and JOIN? 1.INTERSECT just compares 2 sets and picks only distinct equivalent values from both sets. It's important 阅读全文
posted @ 2021-06-01 15:58 ChuckLu 阅读(95) 评论(0) 推荐(0)
摘要: Does EXCEPT execute faster than a JOIN when the table columns are the same To find all the changes between two databases, I am left joining the tables 阅读全文
posted @ 2021-06-01 14:36 ChuckLu 阅读(64) 评论(0) 推荐(0)
摘要: Bad habits : Putting NOLOCK everywhere [See an index of all bad habits / best practices posts] I went through the archive above, and was quite surpris 阅读全文
posted @ 2021-06-01 11:25 ChuckLu 阅读(48) 评论(0) 推荐(0)
摘要: Understanding the Impact of NOLOCK and WITH NOLOCK Table Hints in SQL Server Every once in a while, SQL Server database administrators find themselves 阅读全文
posted @ 2021-06-01 11:18 ChuckLu 阅读(44) 评论(0) 推荐(0)
摘要: with(nolock) or (nolock) - Is there a difference? Everything is based on the assumption that with(nolock) is entirely appropriate for the situtation. 阅读全文
posted @ 2021-06-01 11:07 ChuckLu 阅读(64) 评论(0) 推荐(0)
摘要: What is “with (nolock)” in SQL Server? Can someone explain the implications of using with (nolock) on queries, when you should/shouldn't use it? For e 阅读全文
posted @ 2021-06-01 10:54 ChuckLu 阅读(72) 评论(0) 推荐(0)