Skip to content

Line counter overflows after 65535 lines #814

Description

@trybowski

Suppose you run a script with sqlcmd -i file.sql and you have an error in its 66148 line.
sqlcmd will report a wrong line in an error message.

Msg 208, Level 16, State 1, Server mssql\SQLEXPRESS, Line 613
Invalid object name 'default.dbo.ASSETS_EXTERNAL'.

It seems that the counter overflows. Not a huge deal, but took an hour of my time today :/

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions