Solved

Export one table of a SQL 2005 Database

Posted on 2010-09-06
7
493 Views
Last Modified: 2012-05-10
Looking to export just one table of a SQL 2005 database.  Is it possible to export the data and have import into a temp Database that I have created on a seperate instance on the same physicall server.  The destination server is a 2008 instance.
0
Comment
Question by:GSLElectric
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
7 Comments
 

Author Comment

by:GSLElectric
ID: 33614734
these are basically the steps I've followed to this point.  It seems to export successful, but no rows of data go with it.
sql-exports-steps.docx
0
 
LVL 57

Expert Comment

by:Raja Jegan R
ID: 33614750
Kindly confirm

1. Whether you have records in your source table
2. You have transferred records to the correct database and verifying it over there.
0
 

Author Comment

by:GSLElectric
ID: 33614759
the source table does have records.  That has been confirmed it doesn't create a destination table in the new database and therefore there isn't any data in there as well.  Here is the report that was created when the export task was created.


The execution was successful

- Initializing Data Flow Task (Success)

- Initializing Connections (Success)

- Setting SQL Command (Success)

- Setting Source Connection (Success)

- Setting Destination Connection (Success)

- Validating (Success)

- Prepare for Execute (Success)

- Pre-execute (Success)

- Executing (Success)

- Copying to [dbo].[PRTH] (Success)
      * 0 rows transferred

      Messages
      * Information 0x402090df: Data Flow Task 1: The final commit for the data insertion in "component "Destination - PRTH" (154)" has started.
       (SQL Server Import and Export Wizard)
      
      * Information 0x402090e0: Data Flow Task 1: The final commit for the data insertion  in "component "Destination - PRTH" (154)" has ended.
       (SQL Server Import and Export Wizard)
      

- Post-execute (Success)
      Messages
      * Information 0x4004300b: Data Flow Task 1: "component "Destination - PRTH" (154)" wrote 0 rows.
       (SQL Server Import and Export Wizard)
      
0
Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

 
LVL 57

Accepted Solution

by:
Raja Jegan R earned 500 total points
ID: 33614770
Can you try transferring records into a new temp table say test in that particular database to see whether it works or not..
0
 

Author Comment

by:GSLElectric
ID: 33614827
do you follow those same steps in order to do that?
0
 
LVL 57

Expert Comment

by:Raja Jegan R
ID: 33614884
Able to successfully move records in my system using the above steps..
That's why asking you to ensure that things are followed correctly.
0
 

Author Closing Comment

by:GSLElectric
ID: 33614943
It was a security issue.  I had to use the SA account to make it work.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

INTRODUCTION: While tying your database objects into builds and your enterprise source control system takes a third-party product (like Visual Studio Database Edition or Red-Gate's SQL Source Control), you can achieve some protection using a sing…
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.
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

636 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