FIX: Errors 1921 and 1750 when you create a node or edge table in database that has binary collation in SQL Server 2017

Applies to: SQL Server 2017 on WindowsSQL Server 2017 DeveloperSQL Server 2017 Enterprise

Symptoms


Assume that you have a binary collation database in SQL Server 2017. When you create a node or edge table, you may receive the following error messages:

Msg 1921, Level 16, State 1, Line LineNumber
Invalid filegroup 'PRIMARY.' specified.
Msg 1750, Level 16, State 1, Line LineNumber
Could not create constraint or index. See previous errors.

Note When you create a node or edge table by using the $node_id or $edge_id index, the table can be created successfully.

Resolution


This issue is fixed in the following cumulative update for SQL Server:

       Cumulative Update 5 for SQL Server 2017

Status


Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

References


Learn about the terminology that Microsoft uses to describe software updates.