holistics / holistics/dbml

sql2dbml ERROR: You have a syntax error at line 1 column 1. Expected...

Open
#237 8 comments 3 reactions 1 assignee Claimed by @huydo862003 View on GitHub
bug
Dominant language
JavaScript
Stars
3.7k
Forks
233
Avg merge
1d 23h
Merged PRs (30d)
4

Description

Just installed dbml.

Want to convert my scripted mssql db to dbml.

In SSMS, scripted all database tables to file. Saved file.

Executed:

`sql2dbml .sql --mssql`

Get the following error:

```ERROR: You have a syntax error at "" line 1 column 1. Expected "ALTER", "COMMENT", "CREATE", "DROP", "INSERT", "RESET", "SELECT", "SET", "USE", end of input, or space but "�" found.```

TYIA for any tips to get passed this error.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.