iEntry 10th Anniversary Forum Rules Search
WebProWorld
Register FAQ Calendar Mark Forums Read
Database Discussion Forum This is the place to find help resolving those nagging questions you have about implementing and using all kinds of databases. Need help writing a query? Need an opinion on Oracle? Post here!

Share Thread: & Tags

Share Thread:

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-13-2004, 02:57 PM
WebProWorld Member
 
Join Date: Jan 2004
Location: Tampa,Florida
Posts: 28
stonecoldjk RepRank 0
Default Exporting to txt file

I am running a DTS package exporting a table into a notepad.The table has 6800 odd rows of data. Once the package is run (which is does successfully), the size of the text file created is 14 GB ,which is ridiculously high.If i query the table and copy paste the results into a txt file it comes to around 4.5 MB .Why is this anomaly occuring ? Any clues? .Also i am not able to open the txt file once its made as it says throws up an error message.I cant even check what the file has or whether it was compiled properly.All help and suggestions are welcome.
Thanks in advance
Jay
Reply With Quote
  #2 (permalink)  
Old 07-13-2004, 06:01 PM
mushroom's Avatar
WebProWorld Pro
 
Join Date: Feb 2004
Location: Queen Charlotte B. C. Canada
Posts: 287
mushroom RepRank 0
Default

anomaly is the word for it. There are very few if any text editors that can open a file of that size, also the OS your are using may limit the file size that can be handled. Posting your Os may help.
__________________
Irony: That for most people the most "trusted" web site on the planet is for a company the has been convicted of criminal activity.

Both Security and SuSe start with "S". www.oldslides.com
Reply With Quote
  #3 (permalink)  
Old 07-14-2004, 07:03 PM
WebProWorld Member
 
Join Date: Jan 2004
Location: Tampa,Florida
Posts: 28
stonecoldjk RepRank 0
Default

actually i figured out the error .The problem was that i had the data type as text and the textfile was written in a fixed field format.Hence the unusually large file was created.I changed the data type to varchar(5000) and it works fine now.
Thanks anyways.
Jay
Reply With Quote
  #4 (permalink)  
Old 07-15-2004, 05:07 AM
ronniethedodger's Avatar
WebProWorld 1,000+ Club
 
Join Date: Aug 2003
Location: Central US
Posts: 1,265
ronniethedodger RepRank 1
Default

Hey Jay -- don't you just love the "self-healing" quality of the forums here? ;0)
Reply With Quote
Reply

  WebProWorld > Webmaster, IT and Security Discussion > Database Discussion Forum

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 11:37 AM.



Search Engine Optimization by vBSEO 3.3.0