dbTalk Databases Forums  

utility for generating format files for bulk insert?

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


Discuss utility for generating format files for bulk insert? in the microsoft.public.sqlserver.dts forum.



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

Default utility for generating format files for bulk insert? - 07-05-2004 , 05:27 AM






yes, there's one in dts bulk insert task
but it requires the same number of cols for source & destination.

are there any other alternatives on the market?



Reply With Quote
  #2  
Old   
Darren Green
 
Posts: n/a

Default Re: utility for generating format files for bulk insert? - 07-05-2004 , 05:03 PM






In message <e#eLCqnYEHA.3012 (AT) tk2msftngp13 (DOT) phx.gbl>, Alexander Nenashev
<nenashev (AT) hotbox (DOT) ru> writes
Quote:
yes, there's one in dts bulk insert task
but it requires the same number of cols for source & destination.

are there any other alternatives on the market?

I have two methods -

SQL - write some SQL that produces it from a SELECT statement, useful
when generating it from a SQL structure. Copy and paste text output into
a file.

Excel - I often use this as it easy to setup the correct data in a
spreadsheet, and then save as text to get a valid file.

Not what you really wanted maybe, but they both work pretty well.


--
Darren Green (SQL Server MVP)
DTS - http://www.sqldts.com

PASS - the definitive, global community for SQL Server professionals
http://www.sqlpass.org



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.