Solved

importing from excel into sql server

Posted on 2011-03-09
5
293 Views
Last Modified: 2012-08-14
the value shows as TEXT in excel. but the one without the corner shade (top left) gets in fine, the other comes in as NULL.

i tried importing as varchar(255) still comes in as NULL.

How can we overcome this?
2-text-but-One-Fails.bmp
0
Comment
Question by:anushahanna
  • 3
5 Comments
 
LVL 6

Author Comment

by:anushahanna
ID: 35086190
i am using the import wizard..
0
 
LVL 6

Author Comment

by:anushahanna
ID: 35086212
i tried float & decimal also- they also got the same error.
0
 
LVL 20

Assisted Solution

by:Mark Brady
Mark Brady earned 150 total points
ID: 35088066
Post the excall spreadsheet here and I will see if I can get it imported into MySql. If it works I will export it as an .sql file and send it back to you. I can't help unless I can see the problem because I have never heard of that problem (with the shading in the corner).
0
 
LVL 75

Accepted Solution

by:
Anthony Perkins earned 350 total points
ID: 35089282
Here is a very good explanation of the problem and how it was addressed using DTS:
PROBLEM: Why does Excel Insert NULLs into my table when I know there is good data in there?
http://www.sqldts.com/254.aspx
0
 
LVL 6

Author Comment

by:anushahanna
ID: 35169824
thanks- that link provided the answer..
0

Featured Post

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
I have a large data set and a SSIS package. How can I load this file in multi threading?
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

828 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