Trying to Load Data from Excel into SQL Server. 32-bit Excel and 64-bit SQL Server Throws Error
I've tried a few different ways to load data from Excel into SQL Server, as shown here: Use [TestDatabase] SELECT * INTO dbo.tbl_SST_Personnel FROM OPENROWSET('Microsoft.ACE.OLEDB.12.0', 'Excel 12.0 Xml;HDR=YES;Database=C:\Users\rshuell001\Desktop\DATA - INPUT FILES\STT_Personnel.xlsx', 'SELECT * FROM [tbl_SST_Personnel]') GO insert into OPENROWSET('Microsoft.ACE.OLEDB.12.0', 'Excel 12.0;Database=C:\Users\rshuell001\Desktop\DATA - INPUT FILES\STT_Personnel.xlsx;', 'SELECT * FROM [tbl_SST_Personnel]') select * from tbl_SST_Personnel Insert into tbl_SST_Personnel Select * FROM OPENROWSET('Micros
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.