injesus Posted April 24, 2006 Share Posted April 24, 2006 Hi I need help you.can showme a Example using OPENROWSET for obtain data form a Excel Table to Sql Table.thanks Link to comment Share on other sites More sharing options...
injesus Posted May 4, 2006 Author Share Posted May 4, 2006 Thank you I already solved the probleminsert into TablaSELECT * FROM OPENROWSET('Microsoft.Jet.OLEDB.4.0','Excel 8.0;HDR=Yes;Database=c:\este.xls', 'SELECT * FROM [sheet1$]') It is necessary that the file is physically in the servant but it will not work.If you already have it then the code will work without problems Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now