sql-server - 在 SQL Server Management Studio 中保存文件失败

标签 sql-server controlled-folder-access

我是一名学生...我尝试将查询保存到文档中的文件中,但收到错误消息

c:\user\my_account\documents\script.sql file not found
Please check the file name and try again.

其他问题:

  • 生成脚本失败
  • 无法从 word_db 获取对象列表
  • 结果错误

最佳答案

我在尝试在 SSMS 18 中保存新查询时遇到了同样的问题(在 1903 Windows 更新之后)。原来是windows deferder的“受控文件夹访问”被打开了。 解决方案:关闭“受控文件夹访问”或whitelyst ssms(需要重新启动)

关于sql-server - 在 SQL Server Management Studio 中保存文件失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51766027/

相关文章:

mysql - SQL Join,不确定复杂查询中的确切语法

python - Jupyter笔记本错误Windows 10

sql - 没有自动增量字段的数据库上的自动增量字段

mysql - 将查询从 MySQL 转换为 SQL Server

reactjs - 创建 react 应用程序: Range error - Maximum call stack size exceeded

git - git 设置时出现问题

用gcc编译C程序;无法打开输出文件_.exe : no such file or directory

c# - 在 Linq to SQL 中处理 DataContext 后无法访问相关数据

mysql - 仅允许通过特定应用程序连接 DBMS 用户