Microsoft SQL Server
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsDatabasesMicrosoft SQL Server

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old June 19th, 2003, 03:19 PM
paulbull paulbull is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Posts: 1 paulbull User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
importing into multiple tables

Hi

I have a file that has two columns of data say.

"John" "Smith"
"Peter" "Jackson"
etc

Is there a way of of loading this into two seperate tables.

ie the forenames will go into a "Forename" table and the
surname into a "Surname" table.

I really want this to be done using the DTS designer rather than writing in ActiveX.

I have it working using 2 seperate transformation tasks but they run parallel but if say "Smith" had a problem loading to the table I want it also to rollback the loading of "John" but allow the rest of the file to continue.

This is driving me up the wall. My boss recently met up with Microsoft and a guy siad it was easy to do in the Designer but my boss forgot what he told him..

PS I am currently using the eveluation edition.. This hasnt got this feature turned on in it has it???

Reply With Quote
  #2  
Old June 19th, 2003, 08:34 PM
stumpy's Avatar
stumpy stumpy is offline
May contain nuts.
Dev Articles Regular (2000 - 2499 posts)
 
Join Date: Aug 2002
Location: Sydney, AU
Posts: 2,058 stumpy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 8 m 57 sec
Reputation Power: 9
Send a message via ICQ to stumpy Send a message via MSN to stumpy
Yes - this is simple to do using the DTS import/export wizard.
Simply right click on your DB, choose All Taks -> Import, and follow the prompts - you need to do two seperate runs as you're splitting the data up.
__________________
DevArticles Moderator
BlueSix - Web Development and Consulting

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsDatabasesMicrosoft SQL Server > importing into multiple tables


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway
Stay green...Green IT