i have a very simple excel file that i need to import into a table in sql server 2008.
one of the fields is a bit complex and i dont think it can be saved effectively to a csv, since it sometimes has comas and single quotes in it. it screwed up the formatting when i save to a csv. so i would like to try to import directly from the xls file.
does anyone know how to import from xls to sql server ?
try using the sql server management studio
right click in your database -> Tasks -> Import Data..
check this link for more info
对于Express,请运行C:\\ Program Files \\ Microsoft SQL Server \\ 100 \\ DTS \\ Binn \\ DTSWizard.exe
SQL Server具有与.xls文件一起使用的导入向导。
The import wizard generates an SSIS package for you. If you want more control, you can create the SSIS package yourself in Visual Studio.
SQL Server Integration Services for the win. Check this out!
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.