Table Hint UPDLOCK and LOCK ESCALATION

Table Hint UPDLOCK and LOCK ESCALATION

When using table hints, a few rules should be recommende, which – if ignored – can quickly lead to performance problems. In the database of one of our customer’s software, UPDLOCK is used as a table hint to force a serialization of processes....
Is SWITCH PARTITION a bad idea?

Is SWITCH PARTITION a bad idea?

How can SWITCH PARTITION be a bad idea? Do you work with partitioning and know the many advantages that this technology offers? Do you use this technology in DWH to improve workloads or in OLTP systems to optimize scaling? Be careful with SWITCH PARTITION. It should...