Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/sql/87.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/sql-server/27.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
SQLCMD作为内置管理组运行_Sql_Sql Server_Sqlcmd - Fatal编程技术网

SQLCMD作为内置管理组运行

SQLCMD作为内置管理组运行,sql,sql-server,sqlcmd,Sql,Sql Server,Sqlcmd,如何使用内置管理员组运行SQLCMD。以管理员身份运行CommandPrompt(或PowerShell)(以便您拥有提升的权限)。然后使用带有-E标志的sqlcmd,这样它就可以使用您的Windows登录(不建议现在使用sa)。以管理员身份运行CommandPrompt(或PowerShell)(这样您就有了提升的权限)。然后使用带有-E标志的sqlcmd,这样它就可以使用您的Windows登录(现在不建议使用sa)。

如何使用内置管理员组运行SQLCMD。

以管理员身份运行CommandPrompt(或PowerShell)(以便您拥有提升的权限)。然后使用带有-E标志的sqlcmd,这样它就可以使用您的Windows登录(不建议现在使用sa)。

以管理员身份运行CommandPrompt(或PowerShell)(这样您就有了提升的权限)。然后使用带有-E标志的sqlcmd,这样它就可以使用您的Windows登录(现在不建议使用sa)。