删除服务器上的数据库文件 - >分享违规 [英] delete database file on server -> sharing violation

查看:70
本文介绍了删除服务器上的数据库文件 - >分享违规的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




我在服务器上有一些数据库文件(.MDF,.LDF,...)。当我尝试

删除它们时,警告无法删除文件:有一个

共享违规。源文件或目标文件可能正在使用中。

出现。


由于我是环境新手,我不知道文件在哪里来自

它们可能会被使用。


有谁可以告诉我如何删除这些文件?


谢谢。

Hi,

I have some database files (.MDF, .LDF,...) on the server. When I try
to delete them, the warning "Cannot delete file: There has been a
sharing violation. The source or destination file may be in use."
appears.

Since I am new to the environment I don''t know where the files come
from and where they might be used.

Can anybody tell me what to do to delete those files?

Thank you.

推荐答案

pe ****** @ hotmail.com 写道:
pe******@hotmail.com wrote:

我有一些数据库文件(.MDF,.LDF,...)在服务器上。当我尝试

删除它们时,警告无法删除文件:有一个

共享违规。源文件或目标文件可能正在使用中。

出现。


由于我是环境新手,我不知道文件在哪里来自

它们可能被使用的地方。


有人可以告诉我如何删除这些文件吗?
I have some database files (.MDF, .LDF,...) on the server. When I try
to delete them, the warning "Cannot delete file: There has been a
sharing violation. The source or destination file may be in use."
appears.

Since I am new to the environment I don''t know where the files come
from and where they might be used.

Can anybody tell me what to do to delete those files?



假设这是MS SQL(我不知道Oracle使用了什么扩展),你需要从b中分离数据库
。可以通过GUI或CHUI完成。对于

a GUI,使用企业管理器(SQL 2000)或Management Studio(2005)。

Assuming this is MS SQL (I don''t know what extensions Oracle uses), you
need to detach the database from SQL. Can be done via GUI or CHUI. For
a GUI, use Enterprise Manager (SQL 2000) or Management Studio (2005).


pe ****** @ hotmail.com 写道:




我在服务器上有一些数据库文件(.MDF,.LDF,...)。当我尝试

删除它们时,警告无法删除文件:有一个

共享违规。源文件或目标文件可能正在使用中。

出现。


由于我是环境新手,我不知道文件在哪里来自

它们可能会被使用。


有谁可以告诉我如何删除这些文件?


谢谢。
Hi,

I have some database files (.MDF, .LDF,...) on the server. When I try
to delete them, the warning "Cannot delete file: There has been a
sharing violation. The source or destination file may be in use."
appears.

Since I am new to the environment I don''t know where the files come
from and where they might be used.

Can anybody tell me what to do to delete those files?

Thank you.



Oracle不是微软的产品。


鉴于这是Windows重启机器。然后删除文件。

-

Daniel A. Morgan

华盛顿大学
da ****** @ x.washington.edu (用你的x代替你回答)

Puget Sound Oracle用户组
www.psoug.org

Oracle is not a Microsoft product.

Given that this is Windows reboot the machine. Then delete the files.
--
Daniel A. Morgan
University of Washington
da******@x.washington.edu (replace x with u to respond)
Puget Sound Oracle Users Group
www.psoug.org

< br>

请参阅sqlservr.exe


< pe ****** @hotmail.comaécritdansle message de news:
11 *************** *******@e34g2000pro.googlegroups。 com ...
see sqlservr.exe

<pe******@hotmail.coma écrit dans le message de news:
11**********************@e34g2000pro.googlegroups. com...




我有一些数据库文件(.MDF,.LDF, ...)在服务器上。当我尝试

删除它们时,警告无法删除文件:有一个

共享违规。源文件或目标文件可能正在使用中。

出现。


由于我是环境新手,我不知道文件在哪里来自

它们可能会被使用。


有谁可以告诉我如何删除这些文件?


谢谢。
Hi,

I have some database files (.MDF, .LDF,...) on the server. When I try
to delete them, the warning "Cannot delete file: There has been a
sharing violation. The source or destination file may be in use."
appears.

Since I am new to the environment I don''t know where the files come
from and where they might be used.

Can anybody tell me what to do to delete those files?

Thank you.



这篇关于删除服务器上的数据库文件 - &gt;分享违规的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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