dbTalk Databases Forums  

ascii file column limit ?

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


Discuss ascii file column limit ? in the microsoft.public.sqlserver.dts forum.



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

Default ascii file column limit ? - 01-06-2004 , 10:39 AM






Hi,

I'm trying to use dts to download data to an ascii file.

The query I'm using is below:

-----------------
SELECT generic_id, xml_transfer_site_id,
enable_invoice_id,
create_date, external_invoice_id, invoice_num, convert
(varchar(20),invoice_date,120) invoice_date,
enable_from_site, external_from_site,
enable_to_site, external_to_site, enable_source_from,
external_source_from,
source_date, trans_type_id, invoice_type, status,
convert(varchar(20),GETDATE(),120) AS edit_date,
privacy_flag
FROM xml_g_invoice_transfer_out_x where
create_date = convert(varchar(10),getdate(),112)
-------

When I "preview" the data it comes out fine (from the
source tab on the TRANSFORM DATA TASK PROPERTIES dialog
box). However when I go to the DESTINATION TAB and try to
create the "table" in the ascii file by clicking
on "EXECUTE" from the DEFINE COLUMNS dialog box, none of
the columns are created.

If I remove any two columns from the query, then it
creates the "table" in the ascii file.

Is there a limit as to the number of columns you can copy
over ?

Regards,


Ned

Reply With Quote
  #2  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: ascii file column limit ? - 01-07-2004 , 01:12 AM






Have you recently applied SP3 to SQL Server ?

http://support.microsoft.com/default...B;EN-US;814113

--

----------------------------
Allan Mitchell (Microsoft SQL Server MVP)
MCSE,MCDBA
www.SQLDTS.com
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org



"Ned Radenvoic" <anonymous (AT) discussions (DOT) microsoft.com> wrote

Quote:
Hi,

I'm trying to use dts to download data to an ascii file.

The query I'm using is below:

-----------------
SELECT generic_id, xml_transfer_site_id,
enable_invoice_id,
create_date, external_invoice_id, invoice_num, convert
(varchar(20),invoice_date,120) invoice_date,
enable_from_site, external_from_site,
enable_to_site, external_to_site, enable_source_from,
external_source_from,
source_date, trans_type_id, invoice_type, status,
convert(varchar(20),GETDATE(),120) AS edit_date,
privacy_flag
FROM xml_g_invoice_transfer_out_x where
create_date = convert(varchar(10),getdate(),112)
-------

When I "preview" the data it comes out fine (from the
source tab on the TRANSFORM DATA TASK PROPERTIES dialog
box). However when I go to the DESTINATION TAB and try to
create the "table" in the ascii file by clicking
on "EXECUTE" from the DEFINE COLUMNS dialog box, none of
the columns are created.

If I remove any two columns from the query, then it
creates the "table" in the ascii file.

Is there a limit as to the number of columns you can copy
over ?

Regards,


Ned



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.