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 > Database Server Software > MySQL > filling database

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-11-04, 17:16
meeusen meeusen is offline
Registered User
 
Join Date: Jun 2004
Posts: 2
filling database

Hi

I am filling my database with a couple of thousend
8 digits numbers. These numbers i have in a list in a text-file.
Also I have a dump-sql file that i fill with these numbers by copying and pasting the numbers in between the brackets after the word VALUES in the following sentence:

INSERT INTO NUMBERS (number) VALUES ();

resulting in;

INSERT INTO NUMBERS (number) VALUES (12345678);

That i repeat with all the numbers

This takes me forever.....!

Is their anybody who knows a quicker way...?
I would appriciate any suggestions deerly!

Greetings

Meeusen
Reply With Quote
  #2 (permalink)  
Old 06-11-04, 17:44
Pat Phelan Pat Phelan is offline
Resident Curmudgeon
 
Join Date: Feb 2004
Location: In front of the computer
Posts: 12,609
Check the MySQL manual online.

-PatP
Reply With Quote
  #3 (permalink)  
Old 06-12-04, 06:08
meeusen meeusen is offline
Registered User
 
Join Date: Jun 2004
Posts: 2
thank you !!!
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