Solved

SQL Server Mgmt Studio: Import Reports Success, Nothing Imported

Posted on 2015-01-13
2
74 Views
Last Modified: 2015-01-15
Why would I run an import and have it report success on 390 rows when, in fact, no rows are imported?

Also, I have gotten the "Review Data Type Mapping" window one time in perhaps 20 attempts. I don't know when/how to make that appear. I see no indication of errors, though I did at first.

The import file is a veritable duplicate data-wise of the SQL table. All the columns map up perfectly, etc.

Sorry. I have no idea what other kind of information you might need to help.
0
Comment
Question by:Dreamboat
2 Comments
 
LVL 18

Accepted Solution

by:
SimonAdept earned 500 total points
ID: 40547537
How are you importing the data? The data import/export wizard or an SSIS package? I'm guessing that either you're looking in the wrong place for the results of the import (have you checked tempdb etc) or that the 'imported' data is in a temporary table that is beinng used to update the SQL table if necessary, but that no updates actually are necessary. Perhaps i've misunderstoood your question...

>The import file is a veritable duplicate data-wise of the SQL table. All the columns map up perfectly, etc.
This line suggests that you already have the data in a table - is the process you're running doing a MERGE to this table?
0
 
LVL 22

Author Closing Comment

by:Dreamboat
ID: 40552708
Hi, Simon. Thanks for responding. I did finally get this resolved and just forgot I asked this question. Our instructions said to choose a field, but it wasn't clear that I needed to map to a field whose name was followed by a $ and not the field by the same name that had no $.

Hence, the real problem rested between the keyboard and the chair.

Thanks for responding!
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

In this article I will describe the Backup & Restore 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.
This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.

744 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

16 Experts available now in Live!

Get 1:1 Help Now