Solved

importing from excel into sql server

Posted on 2011-03-09
5
290 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
Comment Utility
i am using the import wizard..
0
 
LVL 6

Author Comment

by:anushahanna
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
thanks- that link provided the answer..
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Nowadays, some of developer are too much worried about data. Who is using data, who is updating it etc. etc. Because, data is more costlier in term of money and information. So security of data is focusing concern in days. Lets' understand the Au…
Let's review the features of new SQL Server 2012 (Denali CTP3). It listed as below: PERCENT_RANK(): PERCENT_RANK() function will returns the percentage value of rank of the values among its group. PERCENT_RANK() function value always in be…
Via a live example, show how to setup several different housekeeping processes for a SQL Server.
Viewers will learn how the fundamental information of how to create a table.

762 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

11 Experts available now in Live!

Get 1:1 Help Now