Allow multiline query with --query (-Q) parameter
Open
- Dominant language
- Python
- Stars
- 1.4k
- Forks
- 191
- PR merge metrics
- No merged PRs in 30d
Description
Hi!
Is it possible to run multiline query as input, e.g.:
```shell
PS> mssql-cli --integrated --server "SERVER_NAME" --query @"
>> select top 1 *
>> from $(Read-Host 'Table')
>> "@
```
?
Simple example:
```shell
PS> mssql-cli --integrated --server "SERVER_NAME" --query @"
>> select top 1 *
>> from TableName
>> "@
Msg 263, Level 16, State 1, Line 1
Must specify table to select from.
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.