Comments (5)
is this on Windows, Linux, or both?
I don't see it on my Windows run.
from go-sqlcmd.
OS Name Microsoft Windows Server 2019 Datacenter
Version 10.0.17763 Build 17763
Code from this repo (commit hash 32462b7) built using go build .\cmd\sqlcmd\
from go-sqlcmd.
is this on Windows, Linux, or both? I don't see it on my Windows run.
@shueybubbles the issue only reproduces if you have the batch separators (GO
) with go-sqlcmd. In classic sqlcmd, the presence (or lack thereof) of the batch separator does not matter - a non-query statement will not print any extra newlines in the output in the classic sqlcmd.
from go-sqlcmd.
@arvindshmicrosoft do you still see this?
This is what I get:
E:\git\go-sqlcmd\cmd\sqlcmd>type testdata\create100db.sql
create database db100
go
create database db101
go
create database db102
go
create database db103
go
create database db104
go
create database db105
go
create database db106
go
create database db107
go
create database db108
go
create database db109
go
create database db110
go
create database db111
go
create database db112
go
create database db113
go
E:\git\go-sqlcmd\cmd\sqlcmd>sqlcmd -i testdata/create100db.sql
E:\git\go-sqlcmd\cmd\sqlcmd>sqlcmd
1> select name from sys.databases
2> go
name
--------------------------------------------------------------------------------------------------------------------------------
master
tempdb
model
msdb
mydb
db100
db101
db102
db103
db104
db105
db106
db107
db108
db109
db110
db111
db112
db113
(19 rows affected)
from go-sqlcmd.
@shueybubbles I built with commit hash 1b77558 and I cannot reproduce the issue any more. Thanks for following up, I am closing the issue.
from go-sqlcmd.
Related Issues (20)
- Add support for Secure Enclaves HOT 2
- sqlcmd behind http_proxy HOT 4
- Use correct format specifier for displaying port numbers and other integers values that do not need ',' while displaying localized version. HOT 1
- Add ability to import/export data to/from Parquet files with SQLCMD
- Rename --name flag to --container-name
- Podman - Add troubleshooting text for Docker daemon not started
- SQLCMD Create User and Password HOT 1
- Support for attaching volumes to containers
- Additional flags for delete command HOT 2
- GO version of sqlcmd does not parse ANSI text files correctly HOT 2
- Add a "not yet implemented" error for all back-compat switches so user gets an actionable error message HOT 1
- sqlcmd -N should work the same as -N true HOT 1
- CVE-2023-29402 critical vulnerability HOT 1
- sqlcmd panics when using MSI on App Service HOT 1
- Need a way to pass the HostNameInCertificate parameter for strict encryption connections HOT 2
- Linux sqlcmd cannot restore an OLDER backup file created in SQL 2022 (16.0.4095.4) to a new server instance sql 2022 (16.0.4105.2) HOT 2
- SqlCmd 1.5.0 Access Denied in Elevation mode against WID - Work fine with old SqlCmd 15 (SQL2019) HOT 4
- The image has the following vulnerability: CVE-2024-24557 BaseSeverity: high; BaseScore: 7.8. HOT 1
- What jdbc connection string property corresponds with the `-G` flag? HOT 1
- Release v1.6.0 missing msi HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from go-sqlcmd.