SQLServer--常用的扩展存储过程使用

xiaoxiao2021-02-28  147

创建文件目录

use master go exec xp_cmdshell 'mkdir D:\ProductDB',no_output --在指定位置创建文件夹 if exists(select * from sysobjects where name='ProductDB') drop database ProductDB go exec xp_cmdshell 'dir D:\ProductDB\' --查看文件

解决以上方法: 1:

2:

3:

4:


查看电脑的D 盘

转载请注明原文地址: https://www.6miu.com/read-19757.html

最新回复(0)