Loading files into database with incomple data

This is a discussion on Loading files into database with incomple data within the sqlserver-dts forums in Microsoft SQL Server category; Hi, all, I have the following scenario: I have one file with multiple lines, but each table's record may contain data regarding more than one line of the file. The key is the same, but two lines of the file may have different parameters and they should be joined and loaded into a single record of the database. How should this be done? May I create a temporary table with a 1:1 mapping for file / database and then run execute another SQL statement joining this data? Thanks, -- Andre...

Go Back   Database Forum > Microsoft SQL Server > sqlserver-dts

Database Forums

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 08-20-2008, 02:19 PM
Default Loading files into database with incomple data

Hi, all,

I have the following scenario:
I have one file with multiple lines, but each table's record may
contain data regarding more than one line of the file.

The key is the same, but two lines of the file may have different
parameters and they should be joined and loaded into a single record
of the database.

How should this be done? May I create a temporary table with a 1:1
mapping for file / database and then run execute another SQL statement
joining this data?

Thanks,

--
Andre
Reply With Quote
Reply


Thread Tools
Display Modes



All times are GMT -4. The time now is 03:58 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Integrated by bbpixel2008 :: jvbPlugin R1013.368.1

Search Engine Friendly URLs by vBSEO 3.1.0
vB Ad Management by =RedTyger=
In an effort to better serve ads to our visitors, cookies are used on Mydatabasesupport.com. For more information, check out our Privacy Policy.