SQL Interview: 4: INSERT statements and column lists
This is a post in the SQL Interview series. These aren’t trick or gotcha questions, they’re just questions designed to scope out a candidate’s knowledge around SQL Server and Azure SQL Database.
Section: Development Level: Medium
Question:
When you are writing an INSERT statement in T-SQL, the column list is usually optional.
Why would including it be a good idea? When would it ever be required (i.e. not optional)?
Answer:
2021-03-30