Data Conference Databasea Query.Farm index
Speakers

Erland Sommarskog

Employers on the program

  1. 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.

Held in the past 12 months Next 12 months Today, Nov 10, 2026

Appearances by year

201920202021202220232024202520262027
  • SQLDay
  • SQLSaturday
  • Data Saturdays
  • SQL Konferenz
  • Data Céilí
  • DATA:Scotland
  • DataGrillen
  • dataMinds Connect
  • 1 other conferences

Talks

DateEventConferenceRoleTitleLinks
Sep 24, 2026SQLDay Lite 2026SQLDayspeakerDon’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 less

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 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, 2026PASS Summit Europe (Frankfurt) 2026PASS Data Community Summit (formerly PASS Summit)speakerDon'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 less

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 unknowingly run malicious code (ab)using your sysadmin permissions, performing operations advantageous to the attacker. That could be data...

May 11, 2026SQLDay 2026SQLDayspeakerDynamic 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 less

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 challenge is to implement such searches in a way that is both maintainable and efficient in terms of performance.

Mar 2, 2026SQL Konferenz 2026SQL KonferenztalkIntroduction 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 less

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 forever, but anyone who has tried to make advanced pattern-matching has realised that its capabilities are quite limited.

Jan 23, 2026Data Saturday #78 - Data Community Austria Day 2026Data SaturdaysspeakerDeadlocks – 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 less

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 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, 2025SQLDay Lite 2025SQLDayspeakerIntroduction 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 less

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 forever, but anyone who has tried to make advanced pattern-matching has realised that its capabilities are quite limited.

Jan 24, 2025Data Saturday #63 - Data Community Austria Day 2025Data SaturdaysspeakerDon’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 less

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 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, 2024SQLDay Lite 2024SQLDayspeakerDon'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 less

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 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, 2024SQL Konferenz 2024SQL KonferenztalkAll 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 less

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 computer people are not always prepared for the surprises that human language can offer.

Slides
May 16, 2024DataGrillen 2024DataGrillenspeakerDynamic 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 less

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 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, 2023SQLSaturday Oregon & SW Washington #1057SQLSaturday—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 less

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 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, 2023Data Céilí 2023Data CéilíspeakerDeadlocks – 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 less

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 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, 2023SQLDay 2023SQLDayspeakerDon’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 less

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 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, 2022SQLSaturday Oregon & SW Washington #1035SQLSaturday—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 less

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 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, 2022DATA:Scotland 2022DATA:ScotlandspeakerDon'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 less

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 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, 2022SQLDay 2022SQLDayspeakerDeadlocks – 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 less

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 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, 2021dataMinds Connect 2021dataMinds ConnectspeakerDynamic 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 less

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 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, 2019SQLSaturday Oregon #920SQLSaturday—Certificates and EXECUTE AS - Putting Permissions Inside Stored Procedures
The 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 less

The 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, 2019SQLDay 2019SQLDayspeakerWorking in Batches

Frequent co-speakers

SpeakerShared eventsShared talksLast together
Grant Fritchey10—2026
Erwin de Kreuk8—2026
Frank Geisler8—2026
Johan Ludvig Brattås8—2026
Benni De Jagere7—2026
Hubert Kobierzewski7—2026
Tillmann Eitelberg7—2026
Uwe Ricken7—2026
Ben Weissman6—2026
Brian Bønk6—2026
Damian Widera6—2026
Gabi Münster6—2026
Oliver Engels6—2026
Ásgeir Gunnarsson6—2025
Adrian Chodkowski5—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.