Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DTS add id col to text file

Status
Not open for further replies.

moley

IS-IT--Management
Mar 26, 2002
95
GB
hi,

How can i add a unique id to a select qry for text output?
The data sources are from access, oracle, and lotus, so I can't add a row parameter in the sql (3 files).

thanks
 
Throw all in a temp table with an identity column

“I sense many useless updates in you... Useless updates lead to fragmentation... Fragmentation leads to downtime...Downtime leads to suffering..Fragmentation is the path to the darkside.. DBCC INDEXDEFRAG and DBCC DBREINDEX are the force...May the force be with you" --
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top