Reply to Re: Transferring Data from MSDE Database to SQL 2000 Database

Your name:

Reply:


Posted by Erland Sommarskog on 06/18/05 12:18

[posted and mailed, please reply in news]

(smahler@datexmedia.com) writes:
> Here is my situation.
> I have an application that uses SQL 2000. The client has a program
> that uses MSDE. The client MUST have the MSDE version of the Database.
> What I have done is to create a SQL 2000 Database that is exactly like
> the MSDE version. What I wish to do, is at regularly scheduled
> intervals, update the SQL 2000 Data with the newest MSDE Data.
>
> On my clients server, they have both MSDE and SQL 2000 installed
> the msde has a user name and password to access it, whereas the SQL
> 2000 uses authenticated mode to access it.
>
> What I'm trying to do is to write a bunch of SQL Queries, that I can
> run that will copy over the new Data, but I'm having problems accessing
> the msde database in query analyzer from the SQL Database
>

You would have to set up a linked server to the MSDE server, and then
refere to it through four-part notation. Setting up a linked server
may as easy as saying "sp_addlinkedserver 'SERVERNAME'"- If that does
not work out, check out the topic on sp_addlinkedserver in Books Online
for details.

However, there may be other options. If want you want is a complete
copy of the database, using BACKUP/RESTORE sounds like a much easier
solution.

Yet alternative is replication. Now, an MSDE instance cannot be a
publisher, so you cannot use transactional replication. But merge
replication could be an alternative. I don't have any experience of
merge replication myself, though.


--
Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se

Books Online for SQL Server SP3 at
http://www.microsoft.com/sql/techinfo/productdoc/2000/books.asp

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация