dolthub / dolthub/dolt

dolt doesn't support `source` keyword

Open
#5,950 4 comments 0 reactions 1 assignee Claimed by @zachmu View on GitHub
enhancement sql
Dominant language
Go
Stars
24.4k
Forks
873
Avg merge
1d 9h
Merged PRs (30d)
121

Description

MySQL supports executing SQL statements from other MySQL files. [Documentation](https://dev.mysql.com/doc/refman/8.0/en/mysql-batch-commands.html).
This can be done from a SQL query and uses either the `source` keyword or `\.` to specify the file to import:

```sql
mysql> source file_name
mysql> \. file_name
```

Dolt does not currently support this syntax. The syntax is also not mentioned on any Dolt help pages, so it's not immediately obvious whether dolt supports this approach or not.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.