Windows7中的sqlserver数据库附加 [英] sqlserver database attach in windows7

查看:76
本文介绍了Windows7中的sqlserver数据库附加的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好

当我将程序复制到新的Windows7时,必须更改数据库文件(data1.mdf,data1_log.ldf)的权限

通过以下方法:((
File \ rclk \ properties \ security \ edit \ add \ advance \ Find Now-Evryone-ok \ ok \ Full Control \ ok

什么解决方案?:困惑:
自动运行还是不需要此步骤

hello

when i copy program to new windows7, must change permission off database file(data1.mdf , data1_log.ldf)

by below method :((
File\rclk\properties\security\edit\add\advance\Find Now- Evryone-ok\ok\Full Control\ok

what Solution?:confused:
that it run automaticly or This step is not required

推荐答案

不确定我是否正确理解了您的问题,但是如果要批量更改目录权限,例如,您可以使用 CACLS [
Not sure if I understand your question correctly, but if you want to change directory permissions for example in a batch, you can use CACLS[^]


Example:
cacls E:\accounts\bin\Debug /E /G "Everyone":F


这篇关于Windows7中的sqlserver数据库附加的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆