Comments (4)
https://www.sqlshack.com/managing-the-windows-internal-database-wid/
from go-sqlcmd.
If you run the command with "--driver-logging-level 255" do we get more info on what is failing? (I don't have WID set up on my local machine)
from go-sqlcmd.
The issue could be how sqlcmd or go-mssqldb converts .
to localhost
ODBC passes the named pipe path verbatim to CreateFile
, while Go sqlcmd passes \\localhost\pipe\microsoft##wid\tsql\query
I don't know why WID's instance would block it but SQL instances do not:
C:\git\go-sqlcmd\cmd\modern>modern -S np:\\.\pipe\sql\query -Q "select 1"
-----------
1
(1 row affected)
from go-sqlcmd.
This bug is still present in version 1.6.0, is there any ETA when this get's fixed?
from go-sqlcmd.
Related Issues (20)
- 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
- Double exclamation within text expression with some parenthesis deal as sqlcmd instruction
- Service Principal that is Azure AD admin cannot connect to database HOT 2
- Unable to connect to remote docker host when using SSH HOT 2
- EXIT command not parsed in powershell using -Q
- Scripting variables are not expanded in :out and :r commands HOT 2
- RHEL 8 repo misses v1.6.0 HOT 1
- No package available in RHEL 9 repo HOT 3
- Crash when use q and Q HOT 1
- BCP supports with ODBC Driver 18 HOT 2
- Ubuntu 22.04 repo: v1.6.0 not available
- wixproj needs to consume wix from nuget HOT 1
- Ubuntu 24.04 repo: sqlcmd not available
- Pull in latest go-mssqldb for fix to az-cli resource name
- Output data is not easy to parse HOT 5
- Variable substitution not disabled when using -x HOT 3
- :SETVAR with a comment on the same line throws syntax error 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.