Solved

Export one table of a SQL 2005 Database

Posted on 2010-09-06
7
447 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
  • 4
  • 3
7 Comments
 

Author Comment

by:GSLElectric
Comment Utility
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
Comment Utility
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
Comment Utility
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
Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

 
LVL 57

Accepted Solution

by:
Raja Jegan R earned 500 total points
Comment Utility
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
Comment Utility
do you follow those same steps in order to do that?
0
 
LVL 57

Expert Comment

by:Raja Jegan R
Comment Utility
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
Comment Utility
It was a security issue.  I had to use the SA account to make it work.
0

Featured Post

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Join & Write a Comment

Suggested Solutions

If you have heard of RFC822 date formats, they can be quite a challenge in SQL Server. RFC822 is an Internet standard format for email message headers, including all dates within those headers. The RFC822 protocols are available in detail at:   ht…
In this article I will describe the Detach & Attach method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
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.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

772 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

12 Experts available now in Live!

Get 1:1 Help Now