Import Access Table to MS sql using openrow set -


im trying import access table sql using openrowset function. can work excel have not manged working access. i've load of tables time consuming via wizard. code have far

select * input_2013.[sample] openrowset('microsoft.ace.oledb.12.0', 'excel 12.0;database=w:\projects\sample.xlsx;hdr=yes', 'select * [sheet1$a2:t]'); 

your code excel, maybe if posted code had tried far access , not managed working help?

you try along these lines:

select * openrowset('microsoft.jet.oledb.4.0', 'w:\projects\test.mdb';'admin';'', mydata); 

note need provide username/ password file name.


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -