Transfer objects and data between SQL Server 2005 and  2005 Express

Posted on 2007-10-20
Last Modified: 2010-03-19
A SQL Server article says:"you can simply install the full SQL Server 2005 instance side-by-side with 2005 Express and use database-to-database connectivity to transfer objects and data." Please advise steps to do that. Thanks.
Question by:ksfok
    LVL 18

    Expert Comment

    I think there is not much to say on this:
    1. install both editions, and have them running.
    2. detach a database on the SQLEXPRESS
    3. attach the database on the Full SQL Server
    4. ... repeat for every user database (so do *** NOT *** deatach and attach tempdb, master, model, msdb)

    ... and that is all to it.

    Hope this helps ...
    LVL 18

    Accepted Solution

    ... or create a linked server. If you only want to copy a few tables with data this is probably the best way to go. Here is a small hint how to copy a table via a linked server:

    On the target server, connect to the database you want the tables and data to copied to, execute scripts like these:
    select  *
    into    <Schema>.<Table>
    from    <LinkedServer>.<Database>.<Schema>.<Table>
    where   ...

    This will both create a new table in the target database and will copy the data that meets the where clause from the linked server to the target database.

    Hope this helps ...
    LVL 18

    Expert Comment

    Glad I could be of any help !

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Free Trending Threat Insights Every Day

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    Suggested Solutions

    Title # Comments Views Activity
    get all customers 2 30
    How to print the sql query 18 33
    Rebuild index results in duplicate key violation 9 30
    Delete from table 6 26
    When writing XML code a very difficult part is when we like to remove all the elements or attributes from the XML that have no data. I would like to share a set of recursive MSSQL stored procedures that I have made to remove those elements from …
    In this article we will get to know that how can we recover deleted data if it happens accidently. We really can recover deleted rows if we know the time when data is deleted by using the transaction log.
    To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now