Click here to Skip to main content
15,890,438 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi i have to insert excel sheet into sql server 2005,and then i want to retrieve the data from excel sheet seperatly,for example i have 1000 rows in excel sheet,and want to insert these 100 rows into table which is in sql server 2005,how to copy those 1000 into databse,please can any one help me ?
Posted

well if you want to have the actual excel FILE in the database then you're looking at inserting a binary object

http://technet.microsoft.com/en-us/library/bb895234.aspx[^]

and if you're wanting load all the data into a table from said excel file (probably after exporting it to csv) then you're looking at a bulk insert


bryce
 
Share this answer
 
yes i wanted to store the excel sheet data to sql table?but i don't know how,can you please help me?
 
Share this answer
 
Comments
VICK 10-Oct-13 2:43am    
Never use solution option to post a sub question or to reply any answer or comment,

Rather use "Have a Question or Comment?" option...
hi thanku for your answer,but i want to insert the excel sheet to sql server form front end,can uyou please tell me how it is possible,and i want with out using oledb connecton
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900