![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
#3
| |||
| |||
|
|
-----Original Message----- Hi Dirk, Unfortunately, there is no built-in function of DTS available to transpose the excel-sheets. Also, we do not know what columns and rows the excel-sheets have. It is difficult and complex to code the routine. I suggest we transpose the excel-sheets in Excel and import it to the SQL Server via DTS. I think this is a better choice. Please feel free to contact me if you have further questions. Thanks for using MSDN newsgroup. Regards, Michael Shao Microsoft Online Partner Support Get Secure! - www.microsoft.com/security This posting is provided "as is" with no warranties and confers no rights. . |
#4
| |||
| |||
|
#5
| |||
| |||
|
#6
| |||
| |||
|
|
-----Original Message----- Hi Dirk, Server-side automation of Office is not recommended as it is not designed to do so. Developers can use Automation to Microsoft Office to build custom solutions that utilize the capabilities and features that are built into the Office product. While such programmatic development can be implemented on a client system with relative ease, there are a number of complications that can occur if Automation is to take place from server-side code such as Active Server Pages (ASP), DCOM, or an NT Service. This article discusses the complications that developers may face, offers alternatives to Automation that can speed performance, and suggests ways to configure Office if server-side Automation is unavoidable. Developers should be aware, however, that the suggestions provided below are for informational purposes only. Microsoft does not recommend or support server-side Automation of Office. 257757 INFO: Considerations for Server-Side Automation of Office http://support.microsoft.com/?id=257757 Thanks for using MSDN newsgroup. Regards, Michael Shao Microsoft Online Partner Support Get Secure! - www.microsoft.com/security This posting is provided "as is" with no warranties and confers no rights. . |
#7
| |||
| |||
|
#8
| |||
| |||
|
|
-----Original Message----- Hi Dirk, Thanks for your feedback. As I understand, you want to transpose a sheet and transfer it into SQL Server via DTS. If I have misunderstood, please feel free to let me know. DTS is designed to transform data and there is no built- in function of DTS available to transpose the excel-sheets. However, we could try to create an .exe file to transpose the sheet of the Excel file via automation. According to my experience, it is better not to perform the .exe file in the DTS package. We can perform the .exe file in the scheduled job and transform the transposed sheet into SQL Server via DTS. For additional information regarding this issue, please refer to the following articles on the SQL Server Books Online. Topic: "Creating SQL Server Agent Jobs" Topic: "How to create a CmdExec job step (Enterprise Manager)" Please feel free to let me know if this solves your problem or if you would like further assistance. Regards, Michael Shao Microsoft Online Partner Support Get Secure! - www.microsoft.com/security This posting is provided "as is" with no warranties and confers no rights. . |
#9
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |