Groups | Blog | Home
all groups > sql server new users > august 2006 >

sql server new users : AdventureWorksDB.msi installation on remote server


Charax
8/25/2006 6:27:05 PM
I have 2005 SSMS installed on my desktop, but not the database. I also have
SQL Server 2000 installed on my desktop, but do not want to install SQL
Server 2005 until I have learned a bit, so I can then upgrade my existing
SQL Server 2000 databases to 2005.

I would like to use a remote SQL Server 2005 installation on my ISP's server
to install AdventureWorks. I do not have normal sa permissions, but am
allowed to create a database using the ISP's console and then manage my db.

So, I created an empty "AdventureWorks" database, and can connect to it. Now
I want to install the sample AdventureWorksDB.msi onto the remote server.
How do I go about this?

Cheers,

Charax
Gail Erickson [MS]
8/25/2006 7:08:28 PM
[quoted text, click to view]

Creating an empty database named AdventureWorks isn't going to help you. The
AdventureWorksDB.msi doesn't "create" the AdventureWorks database. It merely
copies the data and log files (.mdf and .ldf) to the local server. You then
have to manually attach the database to the instance of SQL Server. It
sounds like you would have to have the ISP run the msi on their server and
attach the AdventureWorks database and give you appropriate permissions to
use it. If I were you, I would just go for the gusto and install SQL Server
2005 on your own local machine. There are no problems running SQL Server
2000 and 2005 side by side.
--
Gail Erickson [MS]
SQL Server Documentation Team
This posting is provided "AS IS" with no warranties, and confers no rights
Download the latest version of Books Online from
http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
[quoted text, click to view]

Arnie Rowland
8/25/2006 7:30:35 PM
You could script out the AdventureWorks objects and data, and then after
connecting to the remote server, run the scripts.

Look at ApexSQL's SQLDiff product as one option to create object and data
scripts that can be used to move a database to a remote server.

--
Arnie Rowland, Ph.D.
Westwood Consulting, Inc

Most good judgment comes from experience.
Most experience comes from bad judgment.
- Anonymous


[quoted text, click to view]

Arnie Rowland
8/26/2006 12:30:47 AM
Actually, I think that the price for Diff is more like ~$500. Well worth the
expense if you need the functionality. I suggest that you download the
'fully functional' eval version and try it out. Then decide about
value/cost... (OR check out Red-Gates' SQLCompare.)

Generally, by 'script out', we mean that we create SQL scripts to recreate
tables, views, stored procedures, logins, data inserts, etc. During
development it is a recurring task, and can consume a lot of time
continually revising the scripts as the schema and data needs evolve. That
is how scripting tools such as ApexSQL's Diff or Red-Gates' SQLCompare
provide value -they create the scripts that will allow you to transfer data
to a server where you can run scripts, but you cannot install a MSI.

--
Arnie Rowland, Ph.D.
Westwood Consulting, Inc

Most good judgment comes from experience.
Most experience comes from bad judgment.
- Anonymous


[quoted text, click to view]

Charax
8/26/2006 12:44:44 AM
Thanks, Gail, but...

----- Original Message -----
From: "Gail Erickson [MS]" <gaile@online.microsoft.com>
Newsgroups: microsoft.public.sqlserver.newusers
Sent: Friday, August 25, 2006 10:08 PM
Subject: Re: AdventureWorksDB.msi installation on remote server


[quoted text, click to view]


.... this raises the big issue: If I do have SQL Server 2005 installed on my
desktop and converted my 2000 databases to 2005, how do I then
publish/copy/move/restore (or whatever the correct terminology) the
production database on my desktop to the ISP's server?

Cheers,

Charax
Charax
8/26/2006 12:55:43 AM
[quoted text, click to view]


Arnie, could you point me to more information where "script out" is
explained? Am I correct to I suppose you mean I must create a script that
recreates my local db on the ISP's remote server?

And $1,600 for a program to write a one-time script for a small
non-commercial db seems a bit overkill....

Cheers,

Charax
Charax
8/26/2006 9:02:31 AM
Many thanks for your answer, Arnie. I'll do some more study and try to
follow your hints.

As I mentioned to Gail, the real issue is how to relocate my production SQL
Server database from my desktop computer to my ISP's server. But I'm stuck
in the MS Access/FrontPage paradigm and not sure how to proceed.

I use an MS Access 2003 front end through ODBC to SQL Server 2000. Upsizing
my db taught me about handling SQL Server connections and tables, but not
how to "move" or "publish" a database from one server to another. Isn't this
is a common process? I must not know how to pose the question properly.

Using the MS FrontPage metaphor, how do I maintain an SQL Server database on
my local desktop and "publish" it to the ISP's server? Am I asking the right
question?

Cheers,

Charax


[quoted text, click to view]
Arnie Rowland
8/26/2006 9:32:07 AM
For a 'one time' pushing of the databases to the ISP's SQL Server, one of
the scripting tools would work for you. They are capable of creating scripts
of only the differences between different databases.

However, as I now understand you, another option to investigate may be
Snapshot 'Replication'. (Replication schemes are where one (or multiple)
servers keep each other's data synchronized. I suggest that you read up in
Books Online about "How Replication Works". There are several alternatives,
the correct one, perhaps other than Snapshot, will depend upon your need.)

Of course, you may hot have the level of permission/access to the ISP's SQL
Server to engage in any of the Replication schemes. I suspect that scripting
may be your only choice.

--
Arnie Rowland, Ph.D.
Westwood Consulting, Inc

Most good judgment comes from experience.
Most experience comes from bad judgment.
- Anonymous


[quoted text, click to view]

AddThis Social Bookmark Button