Collections:
Preparing Data in Text Files for DTS to Import
How To Prepare Data in Text Files for DTS to Import?
✍: Guest
Sometimes you have data organized in rows and columns and stored in text files. You can import data from text files to SQL Server database tables using the DTS wizard. But you need to prepare data text files with the following questions in mind:
Here is a sample text file, C:\temp\fyi_articles.tab, containing the following rows and columns:
id title author rank submitted 1001 PHP Cookies John King 936 01-Jun-2005 1002 File Upload Larry Gate 341 07-Jul-2006 1003 SQL Server FYIcenter.com 7003 01-Jul-2007
Values are not quoted, because tab characters are used as column delimiters, and tab characters are not appearing in any data values.
⇒ Defining Text Files as the DTS Data Source
⇐ Copying a Table from Source to Destination
⇑ SQL Server FAQs - Introduction to DTS (Data Transformation Services)
2024-01-19, 1807🔥, 0💬
Popular Posts:
Can Binary Strings Be Converted into NUMERIC or FLOAT Data Types in SQL Server Transact-SQL? Can bin...
How To Change the Name of a Database User in SQL Server? If you want to change the name of an existi...
How To Calculate Age in Days, Hours and Minutes in SQL Server Transact-SQL? On many Web sites, news ...
How To Select All Columns of All Rows from a Table with a SELECT statement in SQL Server? The simple...
How To Connect ASP Pages to Oracle Servers in Oracle? If you are running Windows IIS Web server and ...