sql server for 使用网络路径创建数据库
2016-12-14 13:53
381 查看
sp_configure 'show advanced options',1 reconfigure go sp_configure 'xp_cmdshell',1 reconfigure go ------net Driver ----------net use [挂载盘符] [目标网络位置] [pwd] /user:[username] exec xp_cmdshell 'net use Z: \\192.168.200.45\user96 user96 /user:user96 ' go ------nfs -------------- mount [网络位置] [挂载盘符] --exec xp_cmdshell 'mount \\192.168.200.45\data2\nfs Y:' --go sp_configure 'xp_cmdshell',0 reconfigure go sp_configure 'show advanced options',0 reconfigure go
相关文章推荐
- 使用 Engine 对象创建 SQL Server Compact Edition 数据库
- Visual C# 2008+SQL Server 2005 数据库与网络开发--4.5.2 使用SQL创建视图
- 数据库控件dotConnect for SQL Server使用教程:如何连接到SQL Server
- 烂泥:使用Navicat for SQL Server新建数据库、用户及权限赋予
- sqlserver compact sdf, sqlite 数据库 在net中相对路径设置方法 - 摘自网络
- 使用Source Safe for SQL Server解决数据库版本管理问题
- 使用Source Safe for SQL Server解决数据库版本管理问题(转载)
- 使用SQL Server Management Studio 创建作业备份数据库
- 使用Source Safe for SQL Server解决数据库版本管理问题
- 使用SQL Server Management Studio 创建数据库备份作业
- 使用SQL脚本创建数据库,操作主键、外键与各种约束(MS SQL Server)
- 使用SQL Server Management Studio 创建数据库备份作业
- 使用Source Safe for SQL Server解决数据库版本管理问题
- 使用SQL Server Management Studio 创建数据库备份作业
- 使用sql语句创建数据库和表
- 使用SQL语句创建和删除数据库
- myeclipse使用Microsoft JDBC Driver 6.0 for SQL Server连接sql
- 使用sql语句创建数据库和表
- Android使用sqlliteOpenhelper更改数据库的存储路径放到SD卡上
- [转]ASP.NET MVC 5 - 创建连接字符串(Connection String)并使用SQL Server LocalDB