Solved

importing from excel into sql server

Posted on 2011-03-09
5
294 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SQL Throw Error 7 35
T-SQL Query - Group By Year 3 32
SQL Server Express or Standard? 5 30
SQL Query Returns Records in SSMS but not Classic ASP 5 26
Introduction SQL Server Integration Services can read XML files, that’s known by every BI developer.  (If you didn’t, don’t worry, I’m aiming this article at newcomers as well.) But how far can you go?  When does the XML Source component become …
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.

733 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