在sql中使用move语句需要帮助 [英] Need help in with move statement in sql

查看:105
本文介绍了在sql中使用move语句需要帮助的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好



Hi all

RESTORE DATABASE " & txtCompanyCode.Text & " FROM disk='" & dest & "' "





这是我在我的应用程序中使用的恢复查询..现在我需要用它来移动,其中.mdf和ldf文件名应该是文本框名称。



请告诉我怎么写这个查询





谢谢



This is my restore query i am using in my application..now i need to write with move with it where the .mdf and ldf file name should be the textbox name.

Please tell me how to write the query


Thank you

推荐答案

查看此处提供的示例: D.恢复数据库并移动文件 [ ^ ]



问候,

- Manfred
Look at the sample provided here: D. Restoring a database and move files[^]

Regards,
— Manfred


这篇关于在sql中使用move语句需要帮助的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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