2 title: sqlStatementSeparator
3 date: 2019-09-27T18:51:08+02:00
15 The `sqlStatementSeparator` option can be used to change the character that separates multiple SQL statements within a single `.sql` file. It defaults to `;`.
17 ## Configuration Options
21 The default value of the `sqlStatementSeparator` configuration option is `.sql`. It matches all files that end with `.sql`.
25 Changing the `sqlStatementSeparator` configuration option to `|` configures `YoSQL` split `.sql` files using the `|` character.
29 - [inputBaseDirectory](../inputbasedirectory/): Controls the base directory for `.sql` files.
30 - [outputBaseDirectory](../outputbasedirectory/): Controls the output directory for `.java` files.
31 - [skipLines](../skiplines/): Skip lines at the beginning of each `.sql` file.
32 - [sqlFilesCharset](../sqlfilescharset/): Controls the charset used to read `.sql` files.
33 - [sqlFilesSuffix](../sqlfilessuffix/): Controls the expected file ending when looking for `.sql` files.
39 In order to use `YoSQL` together with [Maven](https://maven.apache.org/), take a look at the tooling [documentation for Maven](/tooling/maven/).
41 {{< maven/config/files/sqlStatementSeparator >}}
45 In order to use `YoSQL` together with [Gradle](https://gradle.org/), take a look at the tooling [documentation for Gradle](/tooling/gradle/).
54 sqlStatementSeparator = configValue
61 In order to use `YoSQL` together with [Bazel](https://bazel.build/), take a look at the tooling [documentation for Bazel](/tooling/bazel/).
65 In order to use YoSQL on the command line, take a look at the tooling [documentation for CLI](/tooling/cli/).
68 $ yosql --files-sql-statement-separator=configValue
71 The shorter form is available as well:
74 $ yosql --sql-statement-separator=configValue