gpt4 book ai didi

sql - 调用sqlcmd时如何更改端口

转载 作者:行者123 更新时间:2023-12-03 13:45:12 27 4
gpt4 key购买 nike

我有这个命令

sqlcmd.exe -E -i "C:\joe-db-scripts\joe-db-tasks.Install.sql"

并且我需要添加特定的非标准端口32001。该怎么做?我在想像 -p之类的标志,但我不知道其语法。

最佳答案

根据this MSDN link,您将使用-S tcp:servername,32001

关于sql - 调用sqlcmd时如何更改端口,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6099923/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com