Solved

importing from excel into sql server

Posted on 2011-03-09
5
295 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
[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
  • 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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

I have a large data set and a SSIS package. How can I load this file in multi threading?
Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.
Viewers will learn how the fundamental information of how to create a table.

695 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