SQL Server Discovery

Better, faster, cheaper ...pick two.
posts - 14, comments - 80, trackbacks - 0

May 2006 Blog Posts

Fast importing of text files with format files and bulk insert

When creating SQL Server 2000 ETL solutions like importing of text files, it is common for developers to employ DTS packages to accomplish results quickly. The downside of this approach is that DTS packages have certain programmability limitations and don't always offer the best performance. If you are importing very large raw text files that don't include formatting like column headers, a high-performance solution is to use BULK INSERT with format files. For example, the format file may be named major.fmt (note the file extension .fmt) and would be placed in the same file system directory where the import source text files are located. Here is a sample of what a format file looks...

posted @ Wednesday, May 31, 2006 9:24 PM | Feedback (4) |

Powered by:
Powered By Subtext Powered By ASP.NET