SQL Server的实例 [英] Instances of SQL Server

查看:72
本文介绍了SQL Server的实例的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我正在使用.\ Sqlexpress作为连接字符串中的实例.
但是我想使用.\ MyApp作为新实例.我的问题是:

1)当我在新计算机上安装应用程序时,是否需要手动使用该实例并为其附加数据库?任何人都可以给我提供代码,以便我的安装执行此功能.

谢谢

Hi,
I am using .\Sqlexpress as my instance in the connection string.
But I want to use .\MyApp as new instance. My issues are:

1) When I install application on the new computer, does use manually needs to make this instance and attach database to it? Could any body give me code for it so my installation performs this fucntion.

Thanks

推荐答案

实例名称有什么区别?您是否希望用户打开SQL Manager并查看数据?

http://msdn.microsoft.com/en-us/library/ms143722 (v = sql.90).aspx [
What difference does the instance name make? Are you expecting users to open SQL Manager and look at the data?

http://msdn.microsoft.com/en-us/library/ms143722(v=sql.90).aspx[^]


这篇关于SQL Server的实例的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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