如果您对SQL Server有任何问题,请直接至微软中文技术论坛SQL Server 板块查看您想获得的各种资讯
Real World Example
A manager of a shop can run this DTS package on a daily basis to transfer Customer order data from SQL Server into Excel files. The orders made on a particular day will be transferred to the Excel file with the date as the file name so that the shop manager can easily find out which Excel file includes what information.
Steps to Implement
4. Click on the symbol in the DTS designer’s connection list to set up the first connection to the pubs database in your SQL Server.5. Click on the symbol in the DTS designer’s connection list to set up the second connection to Excel. Under the File name text box, specify a file name, such as C:\test.xls.
8. Highlight the ActiveX script task and the SQL server connection, then go to the Workflow in the menu. Choose “On success” so that this ActiveX script task will be executed before the Transfer Data Task. Here is how it should look:
发表于 @ 2008年01月21日 16:15:00|评论(loading...)|编辑