Re: SQL Server Express as an embedded database



Thanks for that Roger, it all looks fairly straight forward, not as scary as
I imagining.
Dean

"Roger Wolter[MSFT]" <rwolter@xxxxxxxxxxxxxxxxxxxx> wrote in message
news:uf9RoS6$FHA.2652@xxxxxxxxxxxxxxxxxxxxxxx
> The Express install can be embedded in your product's installation
program.
> Here's a whitepaper that should help:
>
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnsse/html/
EmSQLExCustApp.asp
>
> Many applications upgrade their database as part of service packs of
> software upgrade. The most common way to do this is to create a SQL
script
> that includes the required ALTER statements to upgrade the database and
have
> the setup run the script with sqlcmd.exe.
>
> --
> This posting is provided "AS IS" with no warranties, and confers no
rights.
> Use of included script samples are subject to the terms specified at
> http://www.microsoft.com/info/cpyright.htm
>
> "Dean Mitchell" <not@xxxxxxxxxxxx> wrote in message
> news:ODYTOU2$FHA.740@xxxxxxxxxxxxxxxxxxxxxxx
> > Hi everyone,
> >
> > We have a requirement to distribute a database with our client-server
> > application. From a database perspective the application is not
> > particularly complex. We have a couple of servers that need to connect
to
> > the database using ODBC (none of the clients will connect to the
> > database),
> > and the servers are mainly single threaded, although there is the odd
> > occassion where they will create another thread do some work, but 99% of
> > the
> > time they are single threaded.
> >
> > So SQL Server Express seems like it will do the job for us, my boss
> > particularly likes the cost!. But I would like to effectively embed the
> > database within the application, so the installer is not necessarily
aware
> > that there is a database involved, as alot of the time the people doing
> > the
> > installation will be 3rd party dealers who are not necessarily that
> > knowlegable about such things.
> >
> > Our application installs very straight forward at the moment, they just
> > run
> > the installer and answer a few question, the rest is all self
configuring.
> > So I would like it to stay simple, is this possible when incorportaing a
> > database, and how would we go about such tasks as creating a database
> > instance, adding/modifying the tables, and configuring an ODBC
connection?
> >
> > The other issue is how do we cope with upgrades, we have frequent
upgrades
> > to the software, 1-2 a month and not all of them would involve changes
to
> > the tables. And as we do not upgrade all the customers each time, when
> > they
> > do get upgraded they may be jumping several version at a time. it would
> > need
> > to be able to cope with upgrades seamlessly. How do we upgrade our
> > database
> > by adding tables, or columsn to existing tables? Ultimately I would
like
> > the whole process to be automated.
> >
> > Am I being overambitious with what I would like to do?
> >
> > Unfortunately we are stuck with an application written in Borlands
> > CppBuilder, so we have access to any of the tools that I suspect are
> > provided with Visual Studio. We use Wise for Windows Installers which
has
> > a
> > capability of installing SQL Server databases, but they appear to drop
the
> > tables if there is any modification required. As that would result in
> > loss
> > of data, that is not a acceptable solution.
> >
> > thanks for everyones time
> > Regards
> > Dean
> >
> >
>
>


.



Relevant Pages

  • Re: Cluster will not fail over.
    ... > As far as the TCP/IP issue goes, you had to rebuild the cluster and were ... > able to restore the master database. ... > a cluster installation you'll have to revisit. ... >> This worked bringing up the sql server in minimal mode. ...
    (microsoft.public.sqlserver.clustering)
  • Re: installing help for sql 2005
    ... you have database users that are not mapped correctly to logins. ... SQL Server Documentation Team ... installation help with snap shots because i installed the sql server ... remote connections are disabled by default. ...
    (microsoft.public.sqlserver.setup)
  • Re: SQL SERVER 2008 Express + SP1
    ... I installed the SQLXPR_X64, and before I attempted the SP1, SQLEXPRESS database was 64bit for the configuration, better yet the repair do work anymore because SP1 changed them somehow to 32 and the original install was 64 ... If the error happened during upgrade of the 'master' database, it will prevent the entire SQL Server instance from starting. ... And regarding your sql server installation, ...
    (microsoft.public.sqlserver.setup)
  • Re: End User Requirements
    ... running MS-Access and not needing the full access installation, ... you are considering running a local copy of SQL server database. ...
    (microsoft.public.sqlserver.programming)
  • Re: Cluster will not fail over.
    ... As far as the TCP/IP issue goes, you had to rebuild the cluster and were not ... able to restore the master database. ... the entire installation configuration just as if nothing was running on it. ... > This worked bringing up the sql server in minimal mode. ...
    (microsoft.public.sqlserver.clustering)