Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Export one table of a SQL 2005 Database

Posted on 2010-09-06
7
Medium Priority
?
497 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
Nothing ever in the clear!

This technical paper will help you implement VMware’s VM encryption as well as implement Veeam encryption which together will achieve the nothing ever in the clear goal. If a bad guy steals VMs, backups or traffic they get nothing.

 
LVL 57

Accepted Solution

by:
Raja Jegan R earned 2000 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

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

There have been several questions about Large Transaction Log Files in SQL Server 2008, and how to get rid of them when disk space has become critical. This article will explain how to disable full recovery and implement simple recovery that carries…
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…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…

718 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