Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
McGurk
Starting Member
21 Posts |
Posted - 2011-09-19 : 16:58:08
|
Have a Excel template for a daily report. I need to have it fill each time a SSIS pkg is called. However, the one field that is over 255 characters stops it from filling. The destination will not allow me to change it either to DT_WSTR 4000 characters or to DT_NTEXT. It appears to decide for me that I only need DT_WSTR 255 characters. Only if I trick it by adding a large text to the cell in the first row of that column will it insert the data property.However, I cannot have that large text in my template because it does not copy over it so it becomes part of the report.I have tried to find a way to overwrite the first row but cannot find any way to do that. Would appreciate help...we need this done as soon as possible.What can I do????? I have found supposed fixes on the Net but none worked.McGurkAll that is gold does not glitter, not all those who wander are lost... JRR Tolkien |
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2011-09-20 : 03:06:40
|
did you try casting it to DT_WSTR 4000 before you do loading to table first?------------------------------------------------------------------------------------------------------SQL Server MVPhttp://visakhm.blogspot.com/ |
|
|
McGurk
Starting Member
21 Posts |
Posted - 2011-09-20 : 12:08:07
|
Thanks for the reply.It will not let me save the change until it is connected to the Excel Connection Manager so the Excel Destination reads that before I have a chance to make the change.McGurkAll that is gold does not glitter, not all those who wander are lost... JRR Tolkien |
|
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2011-09-20 : 12:19:21
|
nope. try doing it in a derived column transform added in the interim------------------------------------------------------------------------------------------------------SQL Server MVPhttp://visakhm.blogspot.com/ |
|
|
|
|
|