dbTalk Databases Forums  

Bulk Import w/Format File and Text Fields - Why is it not working?

microsoft.public.sqlserver.tools microsoft.public.sqlserver.tools


Discuss Bulk Import w/Format File and Text Fields - Why is it not working? in the microsoft.public.sqlserver.tools forum.



Reply
 
Thread Tools Display Modes
  #31  
Old   
Linchi Shea
 
Posts: n/a

Default RE: Bulk Import w/Format File and Text Fields - Why is it not work - 08-11-2008 , 11:22 AM






This may be a matter of experience and cognitive style, just like the
question of which GUI design is more intuitive.

But the fact you stayed away from it for 8~10 years says a lot about its
usibility already. I like to preprocess a file also because it has the added
value of validating the data in the file, which makes it much easier to debug
data import problems.

Quote:
Pre-processing a 1MB is no issue. Pre-processing a 1GB is likely to be.
Pre-processing a 1GB file is really rather trivial these days. Now, if it's
100GB, one may have to think a bit harder. Even there, going through that
file sequentially in one shot shouldn't be a huge issue as long as you don't
try to load the whole thing into memory as notepad likes to do. Considering
the benefit of precisely locate any data format problems during the
pre-process, I'd probably still go with pre-processing it.

Linchi

"Erland Sommarskog" wrote:

Quote:
Linchi Shea (LinchiShea (AT) discussions (DOT) microsoft.com) writes:
Personally, I'd rather pre-process the file to get it into the right
format to avoid using a format file. I find the BCP format file more
trouble than it's worth in most cases.

Hey, that's only because you are not used to them. I think I also stayed
away from them for the first 8-10 years or so I used SQL Server, but
since then I have become a convert! They are quite intellectual challenges.
Sometimes you find that they can do a lot more than you initially expected.
True, it is also quite common that you hit a road-block.

Pre-processing a 1MB is no issue. Pre-processing a 1GB is likely to be.

.... now, it only remains to see how long I will stay away from SSIS. This
far I have been successful.

--
Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se

Links for SQL Server Books Online:
SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx
SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx
SQL 2000: http://www.microsoft.com/sql/prodinf...ons/books.mspx



Reply With Quote
  #32  
Old   
Linchi Shea
 
Posts: n/a

Default RE: Bulk Import w/Format File and Text Fields - Why is it not work - 08-11-2008 , 11:22 AM






This may be a matter of experience and cognitive style, just like the
question of which GUI design is more intuitive.

But the fact you stayed away from it for 8~10 years says a lot about its
usibility already. I like to preprocess a file also because it has the added
value of validating the data in the file, which makes it much easier to debug
data import problems.

Quote:
Pre-processing a 1MB is no issue. Pre-processing a 1GB is likely to be.
Pre-processing a 1GB file is really rather trivial these days. Now, if it's
100GB, one may have to think a bit harder. Even there, going through that
file sequentially in one shot shouldn't be a huge issue as long as you don't
try to load the whole thing into memory as notepad likes to do. Considering
the benefit of precisely locate any data format problems during the
pre-process, I'd probably still go with pre-processing it.

Linchi

"Erland Sommarskog" wrote:

Quote:
Linchi Shea (LinchiShea (AT) discussions (DOT) microsoft.com) writes:
Personally, I'd rather pre-process the file to get it into the right
format to avoid using a format file. I find the BCP format file more
trouble than it's worth in most cases.

Hey, that's only because you are not used to them. I think I also stayed
away from them for the first 8-10 years or so I used SQL Server, but
since then I have become a convert! They are quite intellectual challenges.
Sometimes you find that they can do a lot more than you initially expected.
True, it is also quite common that you hit a road-block.

Pre-processing a 1MB is no issue. Pre-processing a 1GB is likely to be.

.... now, it only remains to see how long I will stay away from SSIS. This
far I have been successful.

--
Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se

Links for SQL Server Books Online:
SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx
SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx
SQL 2000: http://www.microsoft.com/sql/prodinf...ons/books.mspx



Reply With Quote
  #33  
Old   
Linchi Shea
 
Posts: n/a

Default RE: Bulk Import w/Format File and Text Fields - Why is it not work - 08-11-2008 , 11:22 AM



This may be a matter of experience and cognitive style, just like the
question of which GUI design is more intuitive.

But the fact you stayed away from it for 8~10 years says a lot about its
usibility already. I like to preprocess a file also because it has the added
value of validating the data in the file, which makes it much easier to debug
data import problems.

Quote:
Pre-processing a 1MB is no issue. Pre-processing a 1GB is likely to be.
Pre-processing a 1GB file is really rather trivial these days. Now, if it's
100GB, one may have to think a bit harder. Even there, going through that
file sequentially in one shot shouldn't be a huge issue as long as you don't
try to load the whole thing into memory as notepad likes to do. Considering
the benefit of precisely locate any data format problems during the
pre-process, I'd probably still go with pre-processing it.

Linchi

"Erland Sommarskog" wrote:

Quote:
Linchi Shea (LinchiShea (AT) discussions (DOT) microsoft.com) writes:
Personally, I'd rather pre-process the file to get it into the right
format to avoid using a format file. I find the BCP format file more
trouble than it's worth in most cases.

Hey, that's only because you are not used to them. I think I also stayed
away from them for the first 8-10 years or so I used SQL Server, but
since then I have become a convert! They are quite intellectual challenges.
Sometimes you find that they can do a lot more than you initially expected.
True, it is also quite common that you hit a road-block.

Pre-processing a 1MB is no issue. Pre-processing a 1GB is likely to be.

.... now, it only remains to see how long I will stay away from SSIS. This
far I have been successful.

--
Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se

Links for SQL Server Books Online:
SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx
SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx
SQL 2000: http://www.microsoft.com/sql/prodinf...ons/books.mspx



Reply With Quote
  #34  
Old   
Linchi Shea
 
Posts: n/a

Default RE: Bulk Import w/Format File and Text Fields - Why is it not work - 08-11-2008 , 11:22 AM



This may be a matter of experience and cognitive style, just like the
question of which GUI design is more intuitive.

But the fact you stayed away from it for 8~10 years says a lot about its
usibility already. I like to preprocess a file also because it has the added
value of validating the data in the file, which makes it much easier to debug
data import problems.

Quote:
Pre-processing a 1MB is no issue. Pre-processing a 1GB is likely to be.
Pre-processing a 1GB file is really rather trivial these days. Now, if it's
100GB, one may have to think a bit harder. Even there, going through that
file sequentially in one shot shouldn't be a huge issue as long as you don't
try to load the whole thing into memory as notepad likes to do. Considering
the benefit of precisely locate any data format problems during the
pre-process, I'd probably still go with pre-processing it.

Linchi

"Erland Sommarskog" wrote:

Quote:
Linchi Shea (LinchiShea (AT) discussions (DOT) microsoft.com) writes:
Personally, I'd rather pre-process the file to get it into the right
format to avoid using a format file. I find the BCP format file more
trouble than it's worth in most cases.

Hey, that's only because you are not used to them. I think I also stayed
away from them for the first 8-10 years or so I used SQL Server, but
since then I have become a convert! They are quite intellectual challenges.
Sometimes you find that they can do a lot more than you initially expected.
True, it is also quite common that you hit a road-block.

Pre-processing a 1MB is no issue. Pre-processing a 1GB is likely to be.

.... now, it only remains to see how long I will stay away from SSIS. This
far I have been successful.

--
Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se

Links for SQL Server Books Online:
SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx
SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx
SQL 2000: http://www.microsoft.com/sql/prodinf...ons/books.mspx



Reply With Quote
  #35  
Old   
Linchi Shea
 
Posts: n/a

Default RE: Bulk Import w/Format File and Text Fields - Why is it not work - 08-11-2008 , 11:22 AM



This may be a matter of experience and cognitive style, just like the
question of which GUI design is more intuitive.

But the fact you stayed away from it for 8~10 years says a lot about its
usibility already. I like to preprocess a file also because it has the added
value of validating the data in the file, which makes it much easier to debug
data import problems.

Quote:
Pre-processing a 1MB is no issue. Pre-processing a 1GB is likely to be.
Pre-processing a 1GB file is really rather trivial these days. Now, if it's
100GB, one may have to think a bit harder. Even there, going through that
file sequentially in one shot shouldn't be a huge issue as long as you don't
try to load the whole thing into memory as notepad likes to do. Considering
the benefit of precisely locate any data format problems during the
pre-process, I'd probably still go with pre-processing it.

Linchi

"Erland Sommarskog" wrote:

Quote:
Linchi Shea (LinchiShea (AT) discussions (DOT) microsoft.com) writes:
Personally, I'd rather pre-process the file to get it into the right
format to avoid using a format file. I find the BCP format file more
trouble than it's worth in most cases.

Hey, that's only because you are not used to them. I think I also stayed
away from them for the first 8-10 years or so I used SQL Server, but
since then I have become a convert! They are quite intellectual challenges.
Sometimes you find that they can do a lot more than you initially expected.
True, it is also quite common that you hit a road-block.

Pre-processing a 1MB is no issue. Pre-processing a 1GB is likely to be.

.... now, it only remains to see how long I will stay away from SSIS. This
far I have been successful.

--
Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se

Links for SQL Server Books Online:
SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx
SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx
SQL 2000: http://www.microsoft.com/sql/prodinf...ons/books.mspx



Reply With Quote
  #36  
Old   
Linchi Shea
 
Posts: n/a

Default RE: Bulk Import w/Format File and Text Fields - Why is it not work - 08-11-2008 , 11:22 AM



This may be a matter of experience and cognitive style, just like the
question of which GUI design is more intuitive.

But the fact you stayed away from it for 8~10 years says a lot about its
usibility already. I like to preprocess a file also because it has the added
value of validating the data in the file, which makes it much easier to debug
data import problems.

Quote:
Pre-processing a 1MB is no issue. Pre-processing a 1GB is likely to be.
Pre-processing a 1GB file is really rather trivial these days. Now, if it's
100GB, one may have to think a bit harder. Even there, going through that
file sequentially in one shot shouldn't be a huge issue as long as you don't
try to load the whole thing into memory as notepad likes to do. Considering
the benefit of precisely locate any data format problems during the
pre-process, I'd probably still go with pre-processing it.

Linchi

"Erland Sommarskog" wrote:

Quote:
Linchi Shea (LinchiShea (AT) discussions (DOT) microsoft.com) writes:
Personally, I'd rather pre-process the file to get it into the right
format to avoid using a format file. I find the BCP format file more
trouble than it's worth in most cases.

Hey, that's only because you are not used to them. I think I also stayed
away from them for the first 8-10 years or so I used SQL Server, but
since then I have become a convert! They are quite intellectual challenges.
Sometimes you find that they can do a lot more than you initially expected.
True, it is also quite common that you hit a road-block.

Pre-processing a 1MB is no issue. Pre-processing a 1GB is likely to be.

.... now, it only remains to see how long I will stay away from SSIS. This
far I have been successful.

--
Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se

Links for SQL Server Books Online:
SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx
SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx
SQL 2000: http://www.microsoft.com/sql/prodinf...ons/books.mspx



Reply With Quote
  #37  
Old   
Linchi Shea
 
Posts: n/a

Default RE: Bulk Import w/Format File and Text Fields - Why is it not work - 08-11-2008 , 11:22 AM



This may be a matter of experience and cognitive style, just like the
question of which GUI design is more intuitive.

But the fact you stayed away from it for 8~10 years says a lot about its
usibility already. I like to preprocess a file also because it has the added
value of validating the data in the file, which makes it much easier to debug
data import problems.

Quote:
Pre-processing a 1MB is no issue. Pre-processing a 1GB is likely to be.
Pre-processing a 1GB file is really rather trivial these days. Now, if it's
100GB, one may have to think a bit harder. Even there, going through that
file sequentially in one shot shouldn't be a huge issue as long as you don't
try to load the whole thing into memory as notepad likes to do. Considering
the benefit of precisely locate any data format problems during the
pre-process, I'd probably still go with pre-processing it.

Linchi

"Erland Sommarskog" wrote:

Quote:
Linchi Shea (LinchiShea (AT) discussions (DOT) microsoft.com) writes:
Personally, I'd rather pre-process the file to get it into the right
format to avoid using a format file. I find the BCP format file more
trouble than it's worth in most cases.

Hey, that's only because you are not used to them. I think I also stayed
away from them for the first 8-10 years or so I used SQL Server, but
since then I have become a convert! They are quite intellectual challenges.
Sometimes you find that they can do a lot more than you initially expected.
True, it is also quite common that you hit a road-block.

Pre-processing a 1MB is no issue. Pre-processing a 1GB is likely to be.

.... now, it only remains to see how long I will stay away from SSIS. This
far I have been successful.

--
Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se

Links for SQL Server Books Online:
SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx
SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx
SQL 2000: http://www.microsoft.com/sql/prodinf...ons/books.mspx



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.