Click here to Skip to main content
15,892,927 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Can I read data from Opened Excel file where we dont know the end cell. if it change day by day. in that case is there a way to read all records with out giving end cell. Please sugget.

ex: Today I have 300 records in the file and tomorrow it may be 1000 or 200.
Posted
Comments
Suvendu Shekhar Giri 4-Nov-15 9:55am    
By saying "SQL" do you refer to SQL Server/MySQL/Oracle or what?
Member 12113293 5-Nov-15 1:25am    
SQL Server
Kuthuparakkal 10-Nov-15 8:56am    
Read Excel with what ? C# , SSIS , etc ?
Member 12113293 12-Nov-15 1:00am    
SSIS
Kuthuparakkal 12-Nov-15 8:35am    
Okay. End of Cell means row or columns ? Are the number of columns fixed ?

1 solution

You can use SQL Linked Server to read the excel files. These links should help you:

https://support.microsoft.com/en-us/kb/306397[^]

Using a SQL Server Linked Server to Query Excel Files[^]
 
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