SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 how to insert data from excel file
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

chulz90
Starting Member

Indonesia
26 Posts

Posted - 04/29/2013 :  22:06:24  Show Profile  Reply with Quote
hello..
i've some problem, i want to insert data from excel file which is contain more 8000 rows in excel.
in 1 row sometimes there's 1 or 3 that an empty cell.

can you help me to solve this ???

MuMu88
Aged Yak Warrior

547 Posts

Posted - 04/30/2013 :  00:47:57  Show Profile  Reply with Quote
Export data from Excel as csv file, use BULK INSERT .

As long as your database table accepts NULL values you should be able to insert the data.
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

India
52317 Posts

Posted - 04/30/2013 :  04:12:18  Show Profile  Reply with Quote
Sorry didnt get the actual issue
what happens when you try to insert? is it putting wrong values or throwing some error?



------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/
https://www.facebook.com/VmBlogs
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.08 seconds. Powered By: Snitz Forums 2000