dbTalk Databases Forums  

dts creates a single quote in integer field in excel file

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss dts creates a single quote in integer field in excel file in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
anonymus
 
Posts: n/a

Default dts creates a single quote in integer field in excel file - 04-05-2004 , 10:56 AM






Hi

I have adts pkg executes a simple query from a tbl it returns an integer and a varchar field and stores the result set in an xls file. First time when I created the pkg it creates the result set correct in xls file. I deleted the resulted rows in xls file and saved the file and ran the pkg again and when I opened the xls file it created a single quote in front of the integer column. I have used activex transformation to convert the intfield value to cint(destvalue). But it won't work. Any help would be appreciated

Aruna

Reply With Quote
  #2  
Old   
anonymus
 
Posts: n/a

Default RE: dts creates a single quote in integer field in excel file - 04-05-2004 , 11:26 AM






After first run the pkg changes the destination field type to varchar(255). Is there a way to retain the old settings, i.e int type for the xls tbl field

Thanks

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.