|
Hi All, I am new to SQL. I have an excel file that is saved in a location C:\F2008\daily.xls. How can I automate a process to upload this into a table in SQL. The SQL database is on a server named SBS2K3, the SQL instance is named HOME database name is DailyReports table name is DATA. I am new to SQL so if somebody could help with step by step instructions would be great. Thanks again Regards Gerard
(comments are locked)
|
|
You'll want to setup an SSIS package to handle the import from the Excel sheet into the database.
(comments are locked)
|
|
or use this script and schedule it run regularly http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=49926
(comments are locked)
|
|
Try creating a scheduled SSIS package through the wizard. There are some difficulties with the wizard but if you data is pretty straightforward it should get you started.
Continue through the wizard picking the appropriate options. If you run it and get a truncation error, you'll need to go back a few steps in the wizard and click on Advanced to define the length of the destination column. Typically this happens if you have a description field or the like. Let me know if you need additional instructions for creating or scheduling the import package.
(comments are locked)
|

