TexanInParis/Effective-SQL

BowlingLeagueStructure.SQL missing identity keywords for SQL Server

Closed this issue · 4 comments

Database: SQL Server 2017 - Express.

I needed to add "IDENTITY (1, 1)" to the ID columns for the Bowlers, Teams, Tournaments, and Tourney_Matches table definitions for the data query to insert without errors.

Ah, yeah I was not very clear with one point - it doesn't seem to stop SQL Server from running the insert queries, though it does show errors in the console (See attached picture). That is, I'm still able to query the data afterwards. I mostly just wanted to make you all (and other potential users) aware.
BowlingLeagueErrors