If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ANSI SQL > please help!!!!

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-29-03, 11:14
annie annie is offline
Registered User
 
Join Date: Oct 2003
Posts: 4
please help!!!!

Hello<

How do I read data from the text file (login_name ,password,mail) and insert it into the table_user.password, table_user.mail fields for each table_user.login_name. Please give me some hints. Thanks a lot!
Reply With Quote
  #2 (permalink)  
Old 10-29-03, 11:28
mkkmg mkkmg is offline
Registered User
 
Join Date: Oct 2003
Location: Dallas
Posts: 76
...

this really depends on how you want go about doing this. You could simply just create a DTS package and import the text file into the table.
Reply With Quote
  #3 (permalink)  
Old 10-29-03, 11:33
annie annie is offline
Registered User
 
Join Date: Oct 2003
Posts: 4
Re: ...

Quote:
Originally posted by mkkmg
this really depends on how you want go about doing this. You could simply just create a DTS package and import the text file into the table.
I guess I need to write a script.
Reply With Quote
  #4 (permalink)  
Old 10-29-03, 11:44
mkkmg mkkmg is offline
Registered User
 
Join Date: Oct 2003
Location: Dallas
Posts: 76
...

what are you wanting to use to do this?
Reply With Quote
  #5 (permalink)  
Old 10-29-03, 11:56
annie annie is offline
Registered User
 
Join Date: Oct 2003
Posts: 4
Re: ...

Quote:
Originally posted by mkkmg
what are you wanting to use to do this?
I quess PLSQL. I have bits of code but can't put it together. Sorry.
Reply With Quote
  #6 (permalink)  
Old 10-29-03, 11:58
mkkmg mkkmg is offline
Registered User
 
Join Date: Oct 2003
Location: Dallas
Posts: 76
...

Sorry, I am in the Microsoft world and have DTS packages to do it, wish I could be more help.
Reply With Quote
  #7 (permalink)  
Old 10-29-03, 12:03
annie annie is offline
Registered User
 
Join Date: Oct 2003
Posts: 4
Unhappy Re: ...

Quote:
Originally posted by mkkmg
Sorry, I am in the Microsoft world and have DTS packages to do it, wish I could be more help.
Well thanks anyway
Reply With Quote
  #8 (permalink)  
Old 10-29-03, 12:10
mkkmg mkkmg is offline
Registered User
 
Join Date: Oct 2003
Location: Dallas
Posts: 76
.....

if you are using oracle, I found this article on how to load text files into tables. hope this helps.

http://www.orafaq.org/faqloadr.htm#HOW
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On