Erland Sommarskog
Employers on the program
- 2021–2026Erland Sommarskog SQL-Konsult AB17 talks
The year around now
Talks in the past 12 months and announced talks ahead, one row per conference, January to December. Hover a mark for the talk.
Appearances by year
- SQLDay
- SQLSaturday
- Data Saturdays
- SQL Konferenz
- Data Céilí
- DATA:Scotland
- DataGrillen
- dataMinds Connect
- 1 other conferences
Talks
| Date | Event | Conference | Role | Title | Links |
|---|---|---|---|---|---|
| Sep 24, 2026 | SQLDay Lite 2026 | SQLDay | speaker | Don’t Let Your Permissions Be Hijacked! as Erland Sommarskog SQL-Konsult AB You are sysadmin on a production server, and on this server, there are databases where there are users with power permissions such as the db_owner or…Show lessYou are sysadmin on a production server, and on this server, there are databases where there are users with power permissions such as the db_owner or db_ddladmin roles. They have no server-level permissions, but there may be rogues who want to perform actions beyond what their own permissions allow them to. | |
| Jun 10, 2026 | PASS Summit Europe (Frankfurt) 2026 | PASS Data Community Summit (formerly PASS Summit) | speaker | Don't Let Your Permissions be Hijacked! as Erland Sommarskog SQL-Konsult AB This session is about a security threat, you may or may not have considered. You are sysadmin on a production server, and an attacker could lure you to…Show lessThis session is about a security threat, you may or may not have considered. You are sysadmin on a production server, and an attacker could lure you to unknowingly run malicious code (ab)using your sysadmin permissions, performing operations advantageous to the attacker. That could be data... | |
| May 11, 2026 | SQLDay 2026 | SQLDay | speaker | Dynamic Search Conditions - SQL 2025 Edition as Erland Sommarskog SQL-Konsult AB A common requirement in database applications is that users want a function to search a set of data from a large set of possible search conditions. The…Show lessA common requirement in database applications is that users want a function to search a set of data from a large set of possible search conditions. The challenge is to implement such searches in a way that is both maintainable and efficient in terms of performance. | |
| Mar 2, 2026 | SQL Konferenz 2026 | SQL Konferenz | talk | Introduction to Regular Expressions in SQL Server as Erland Sommarskog SQL-Konsult AB Regular expressions have been used in computing environments for decades for advanced search and replace operations. In SQL Server we have had the LIKE operator…Show lessRegular expressions have been used in computing environments for decades for advanced search and replace operations. In SQL Server we have had the LIKE operator forever, but anyone who has tried to make advanced pattern-matching has realised that its capabilities are quite limited. | |
| Jan 23, 2026 | Data Saturday #78 - Data Community Austria Day 2026 | Data Saturdays | speaker | Deadlocks – Analysing, Preventing and Mitigating as Erland Sommarskog SQL-Konsult AB Deadlocks happen in the best of families, and an occasional deadlock is nothing to be alarmed of. But too many deadlocks can hamper throughput or be irritating…Show lessDeadlocks happen in the best of families, and an occasional deadlock is nothing to be alarmed of. But too many deadlocks can hamper throughput or be irritating for the users who encounter them, and in this case you need to investigate the deadlocks to see how you can reduce the pain. | |
| Oct 16, 2025 | SQLDay Lite 2025 | SQLDay | speaker | Introduction to Regular Expressions in SQL Server as Erland Sommarskog SQL-Konsult AB Regular expressions have been used in computing environments for decades for advanced search and replace operations. In SQL Server we have had the LIKE operator…Show lessRegular expressions have been used in computing environments for decades for advanced search and replace operations. In SQL Server we have had the LIKE operator forever, but anyone who has tried to make advanced pattern-matching has realised that its capabilities are quite limited. | |
| Jan 24, 2025 | Data Saturday #63 - Data Community Austria Day 2025 | Data Saturdays | speaker | Don’t Let Your Permissions Be Hijacked! as Erland Sommarskog SQL-Konsult AB You are sysadmin on a production server, and on this server, there are databases where there are users with power permissions such as the db_owner or…Show lessYou are sysadmin on a production server, and on this server, there are databases where there are users with power permissions such as the db_owner or db_ddladmin roles. They have no server-level permissions, but there may be rogues who want to perform actions beyond what their own permissions allow them to. | |
| Oct 18, 2024 | SQLDay Lite 2024 | SQLDay | speaker | Don't Bite Off More You Can Chew - Take it in Chunks as Erland Sommarskog SQL-Konsult AB Any SQL programmer with some experience knows that loops are bad and that you should work with all data at once in set-based statements. However, you may have…Show lessAny SQL programmer with some experience knows that loops are bad and that you should work with all data at once in set-based statements. However, you may have experienced situations where this strategy did not work out well and you ran into problems like out-growing the transaction log or blocking other users. | |
| Sep 30, 2024 | SQL Konferenz 2024 | SQL Konferenz | talk | All You Wanted to Know About Collations as Erland Sommarskog SQL-Konsult AB Collations is a topic that tends to confuse SQL Server professionals. It is not that the implementation of collations in SQL Server is extremely confusing, but…Show lessCollations is a topic that tends to confuse SQL Server professionals. It is not that the implementation of collations in SQL Server is extremely confusing, but computer people are not always prepared for the surprises that human language can offer. | Slides |
| May 16, 2024 | DataGrillen 2024 | DataGrillen | speaker | Dynamic Pivot – Making Columns out of Rows as Erland Sommarskog SQL-Konsult AB You have a result set in relational format, but you want to pivot the result set for presentational reasons, so that that the values in some column(s) in the…Show lessYou have a result set in relational format, but you want to pivot the result set for presentational reasons, so that that the values in some column(s) in the result set become column in what the user sees. And in many cases, you don’t know these values beforehand, so the pivot operation has to be dynamic. This is a non-relational operation, which may be better done client-side. Nevertheless, being able to do a dynamic pivot in SQL is a valuable asset to have in your tool belt. To be able to write a dynamic pivot, you need two master two things: writing static pivot queries and dynamic SQL. In this session, we will start learning how to write static pivot queries. In case you already feel acquainted with the PIVOT operation in T-SQL, here is a teaser: we will not use that operator, but a much more flexible scheme. Next, we will move on to the basics of dynamic SQL. Dynamic SQL itself is quite an advanced feature, but we will only have time for the basics – and some words of caution. Finally, we will put these things together and learn how to write dynamic pivots. This is a level-200 session. Preferably, you should have been working with writing queries and stored procedures for two-three years to have full benefit of the session. | |
| Nov 11, 2023 | SQLSaturday Oregon & SW Washington #1057 | SQLSaturday | — | Don't Bite Off More You Can Chew - Take it in Chunks as Erland Sommarskog SQL-Konsult AB Any SQL programmer with some experience knows that loops are bad and that you should work with all data at once in set-based statements. However, you may have…Show lessAny SQL programmer with some experience knows that loops are bad and that you should work with all data at once in set-based statements. However, you may have experienced situations where this strategy did not work out well and you ran into problems like out-growing the transaction log or blocking other users. | |
| Jun 8, 2023 | Data Céilí 2023 | Data Céilí | speaker | Deadlocks – Analysing, Preventing and Mitigating as Erland Sommarskog SQL-Konsult AB Deadlocks happens in the best of families, and an occasional deadlock is nothing to be alarmed of. But too many deadlocks can hamper throughput or be irritating…Show lessDeadlocks happens in the best of families, and an occasional deadlock is nothing to be alarmed of. But too many deadlocks can hamper throughput or be irritating for the users who encounter them, and in this case you need to investigate the deadlocks to see how you can reduce the pain. | |
| May 8, 2023 | SQLDay 2023 | SQLDay | speaker | Don’t Let Your Permissions Be Hijacked! as Erland Sommarskog SQL-Konsult AB You are sysadmin on a production server, and on this server, there are databases where there are users with power permissions such as the db_owner or…Show lessYou are sysadmin on a production server, and on this server, there are databases where there are users with power permissions such as the db_owner or db_ddladmin roles. They have no server-level permissions, but there may rogues who want to perform actions beyond what their own permissions allow them to. | |
| Nov 12, 2022 | SQLSaturday Oregon & SW Washington #1035 | SQLSaturday | — | Deadlocks – Analysing, Preventing and Mitigating as Erland Sommarskog SQL-Konsult AB Deadlocks happens in the best of families, and an occasional deadlock is nothing to be alarmed of. But too many deadlocks can hamper throughput or be irritating…Show lessDeadlocks happens in the best of families, and an occasional deadlock is nothing to be alarmed of. But too many deadlocks can hamper throughput or be irritating for the users who encounter them, and in this case you need to investigate the deadlocks to see how you can reduce the pain. | |
| Sep 1, 2022 | DATA:Scotland 2022 | DATA:Scotland | speaker | Don't Bite Off More You Can Chew - Take it in Chunks as Erland Sommarskog SQL-Konsult AB Any SQL programmer with some experience knows that loops are bad and that you should work with all data at once in set-based statements. However, you may have…Show lessAny SQL programmer with some experience knows that loops are bad and that you should work with all data at once in set-based statements. However, you may have experienced situations where this strategy did not work out well and you ran into problems like out-growing the transaction log or blocking other users. You can solve this by operating on the data in chunks. Implementing chunking is not that difficult, but there are still pitfalls you can run into. In this session, I will discuss in what situations you may want to use chunking. I will give some best practices for how to implement chunking for good performance and I will highlight some things you need to keep in mind, for instance, recovering from interruptions. I will also look at how you can use chunking for error handling: You want process many rows and you want the good rows to succeed even if some rows yield errors – something you cannot do in a single set-based statement. This is a level 300/400 session for persons who have been working with T-SQL development for a few years. | |
| May 9, 2022 | SQLDay 2022 | SQLDay | speaker | Deadlocks – Analysing, Preventing and Mitigating as Erland Sommarskog SQL-Konsult AB Deadlocks happens in the best of families, and an occasional deadlock is nothing to be alarmed of. But too many deadlocks can hamper throughput or be irritating…Show lessDeadlocks happens in the best of families, and an occasional deadlock is nothing to be alarmed of. But too many deadlocks can hamper throughput or be irritating for the users who encounter them, and in this case you need to investigate the deadlocks to see how you can reduce the pain. | |
| Oct 11, 2021 | dataMinds Connect 2021 | dataMinds Connect | speaker | Dynamic Search Conditions as Erland Sommarskog SQL-Konsult AB A common requirement in database applications is that users want a function to search a set of data from a large set of possible search conditions. The…Show lessA common requirement in database applications is that users want a function to search a set of data from a large set of possible search conditions. The challenge is to implement such searches in a way that is both maintainable and efficient in terms of performance. This session looks at the two main techniques to implement such searches and highlights their strengths and limitations. | |
| Nov 2, 2019 | SQLSaturday Oregon #920 | SQLSaturday | — | Certificates and EXECUTE AS - Putting Permissions Inside Stored ProceduresThe basic mechanism when we want to give users access to data or actions in SQL Server in a controlled way through stored procedure is ownership chaining. This…Show lessThe basic mechanism when we want to give users access to data or actions in SQL Server in a controlled way through stored procedure is ownership chaining. This is something we use everyday as SQL workers, although we may not be aware of it. | |
| May 13, 2019 | SQLDay 2019 | SQLDay | speaker | Working in Batches |
Frequent co-speakers
| Speaker | Shared events | Shared talks | Last together |
|---|---|---|---|
| Grant Fritchey | 10 | — | 2026 |
| Erwin de Kreuk | 8 | — | 2026 |
| Frank Geisler | 8 | — | 2026 |
| Johan Ludvig Brattås | 8 | — | 2026 |
| Benni De Jagere | 7 | — | 2026 |
| Hubert Kobierzewski | 7 | — | 2026 |
| Tillmann Eitelberg | 7 | — | 2026 |
| Uwe Ricken | 7 | — | 2026 |
| Ben Weissman | 6 | — | 2026 |
| Brian Bønk | 6 | — | 2026 |
| Damian Widera | 6 | — | 2026 |
| Gabi Münster | 6 | — | 2026 |
| Oliver Engels | 6 | — | 2026 |
| Ásgeir Gunnarsson | 6 | — | 2025 |
| Adrian Chodkowski | 5 | — | 2026 |
Speakers with the same name are merged into one entry, so this page may combine more than one person. Affiliations are shown as each conference listed them.