dbTalk Databases Forums  

Export Six Millions Records to .DBF File

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


Discuss Export Six Millions Records to .DBF File in the microsoft.public.sqlserver.dts forum.



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

Default Export Six Millions Records to .DBF File - 01-06-2004 , 06:06 AM






Dear All
I have a problem to export a table to .dbf file. The table contain 6 Millions records. The output file is used for foxpro (DOS version). I tried using DTS export wizard but the process failed when reached 225000. The table consist of 32 column and most of the use varchar data type with two column using datetime. The Error message is "The number of failing rows exceeds the maximum specified". Could not update; currently lock."


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

Default Re: Export Six Millions Records to .DBF File - 01-06-2004 , 07:25 AM






DTS allows you to specify a number of rows which is happy to let you FAIL
before it considers the package a failure. This is by default 0.
Are you using DTS 2000 ? If you are then you can have the DataPump task log
the failing rows to identify the problems.

--

----------------------------
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



"Rahmadi Aji" <anonymous (AT) discussions (DOT) microsoft.com> wrote

Quote:
Dear All,
I have a problem to export a table to .dbf file. The table contain 6
Millions records. The output file is used for foxpro (DOS version). I tried
using DTS export wizard but the process failed when reached 225000. The
table consist of 32 column and most of the use varchar data type with two
column using datetime. The Error message is "The number of failing rows
exceeds the maximum specified". Could not update; currently lock."
Quote:



Reply With Quote
  #3  
Old   
Rahmadi Aji
 
Posts: n/a

Default Re: Export Six Millions Records to .DBF File - 01-06-2004 , 09:06 PM



I already use fail condition at the option in Transform Data Task Properties (I use SQL 2000). I fill it with 100 for maximum error count, then it happen. Then I try using dummy table with 50000 records, then I use DTS, it works. Then I truncate the table and fill it with next 50000 records, it works. I think there is no problem with my data. The problem is when I try to transform all 6 millions rows to dbf file with DTS. I also have configured the buffer size and the error message log.
Thank you very much.

Rahmadi Aji

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

Default Re: Export Six Millions Records to .DBF File - 01-07-2004 , 02:30 AM



Maybe but 50,000 + 50,000 is not equal to the 225000 which you quoted as
being your breaking point.

So why not break the Export up into batches?

--

----------------------------

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.allisonmitchell.com - Expert SQL Server Consultancy.
www.SQLDTS.com - The site for all your DTS needs.
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org


"Rahmadi Aji" <anonymous (AT) discussions (DOT) microsoft.com> wrote

Quote:
I already use fail condition at the option in Transform Data Task
Properties (I use SQL 2000). I fill it with 100 for maximum error count,
then it happen. Then I try using dummy table with 50000 records, then I use
DTS, it works. Then I truncate the table and fill it with next 50000
records, it works. I think there is no problem with my data. The problem is
when I try to transform all 6 millions rows to dbf file with DTS. I also
have configured the buffer size and the error message log.
Quote:
Thank you very much.

Rahmadi Aji



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.