使用SQL数据库安装应用程序 [英] Application installation with SQL database

查看:81
本文介绍了使用SQL数据库安装应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我用SQL数据库开发了一个应用程序。现在我需要在不安装SQL服务器的情况下创建系统安装设置,但是应该将数据库安装到当前机器上。安装时将提供数据库文件。这有可能吗?请指导我。



谢谢

Ashok pathirana

I have developed an application with SQL database. Now i need to create a system installation setup without installing SQL server, But it should be install the database to the current machine. Database files will be available with the installation. is this possible to do. Please guide me.

Thanks
Ashok pathirana

推荐答案

一般情况下在多用户环境中,数据库服务器,数据库和应用程序的安装都是作为三个单独的步骤执行的。可能是该站点已经安装了SQL服务器,因此在这种情况下可以跳过服务器安装,通常也会多次安装应用程序,而数据库只能安装一次才能被所有应用程序访问。 br />


第二件事是安装数据库文件没有意义。您需要数据库引擎才能使用它们。引擎可能是一个功能齐全的SQL Server实例,或者只是一个最小的紧凑引擎,但仍然需要引擎。



但是,如第一段所述,通常,数据库文件是单独安装的,只能安装一次。
In general, in a multi-user environment the installation of the database server, database, and application are all executed as three separate steps. It may well be that the site already has a SQL server installed so in such case the server installation can be skipped, also often applications are installed several times while the database, in order to be accessible by all applications, is installed only once.

The second thing is that installing just database files does not make sense. You need the database engine to be able to use them. The engine may be a full-featured SQL Server instance or just a minimal compact engine, but still the engine is needed.

However, as said in the first paragraph, typically the database files are installed separately and only once.


这篇关于使用SQL数据库安装应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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