Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > SQL Server > SQL Server 2005 > SQL Server 2005
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
SQL Server 2005 General discussion of SQL Server *2005* version only.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server 2005 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old February 28th, 2007, 05:45 AM
Friend of Wrox
 
Join Date: Oct 2005
Location: , , United Kingdom.
Posts: 173
Thanks: 0
Thanked 2 Times in 1 Post
Default Importing data into SQL Server 2005 Express

Hi All

I wonder if anyone could provide a little advice.. I have a SQL Server 2000 database which I would like to export all of the tables, Stored Procedures and data from into SQL Server 2005 Express but cannot see how this can be achieved.

My current setup is as follows:

SQL Server 2000 with Enterprise Manager and SQL Server 2005 Express with Server Management Studio Express.

A little background information on my objective is that the SQL Server 2000 houses the current live website data and SQL Server 2005 Express is going to be used for a copy of the website to be run locally for offline demo purposes.

Many thanks in advance

Rit
__________________
Rit
www.designandonline.co.uk
INSPIRE | CREATE | DELIVER
Reply With Quote
  #2 (permalink)  
Old March 22nd, 2007, 02:23 PM
Authorized User
 
Join Date: Dec 2006
Location: Lake Wylie, SC, USA.
Posts: 57
Thanks: 0
Thanked 0 Times in 0 Posts
Default

You should try to backup and restore from 2000 to 2005. This will provide the least resistant path.

In my mind, all other options require extra work. Scripting the objects is not an issue. Moving the data would be the issue.

Because you have the Express Edition of SQL 2005 management studio, the import/export data functions are not included. And SQL 2000 EM can't connect to SQL 2005. You would have to use bcp and sqlcmd to move the data, which is a time consuming task. There are other tools you could use, like Microsoft Access and many others. But, they still require you define each table to be migrated.

HTH

Adam Gossage
Lake Wylie, SC, USA
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Remoting and SQL Server 2005 Express Bob Bedell C# 2005 15 January 3rd, 2008 01:52 AM
SQL SERVER 2005 STANDARD (not express) proslambano BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 8 January 8th, 2007 08:55 PM
SQL Server 2005 Express Edition vs. Released maitthm SQL Server 2005 3 March 31st, 2006 11:40 AM
SQL Server 2005 Express Problem asped_man BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 3 November 29th, 2005 05:07 AM



All times are GMT -4. The time now is 11:16 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.