Shell script for adding a table in mysql with 10,000 lines ... pls help


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Shell script for adding a table in mysql with 10,000 lines ... pls help
# 1  
Old 06-05-2012
MySQL [Solved] Shell script for adding a table in mysql with 10,000 lines ... pls help

Hi ,

I am new to shell scripting . I need to write a shell script in sql to add 10,000 lines of data in a table . Pls help guys Smilie

---------- Post updated at 07:08 PM ---------- Previous update was at 03:40 PM ----------

guys please help !!!
# 2  
Old 06-05-2012
Start by showing us what you did so far, your are not to expect us to do the work for you... the forum is to help people with their work not doing the work for them...
This User Gave Thanks to vbe For This Post:
# 3  
Old 06-05-2012
The sql command to add rows is INSERT. Whatever type of SQL interpreter or RDBMS you are using, you will have to consider this too. As first step you should get familiar with SQL and try if this works.

Edit:
As VBE mentioned, show some effort, thanks.
This User Gave Thanks to zaxxon For This Post:
# 4  
Old 06-05-2012
Bug

Quote:
Originally Posted by vbe
Start by showing us what you did so far, your are not to expect us to do the work for you... the forum is to help people with their work not doing the work for them...
Sure man !! sorry ... got the answer by browsing through the internet !! will post the code also when i am trying something next time ... thx

---------- Post updated at 07:35 PM ---------- Previous update was at 07:32 PM ----------

Quote:
Originally Posted by zaxxon
The sql command to add rows is INSERT. Whatever type of SQL interpreter or RDBMS you are using, you will have to consider this too. As first step you should get familiar with SQL and try if this works.

Edit:
As VBE mentioned, show some effort, thanks.

Sure man !!! thx for the input ... Smilie
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Need help with first shell script pls.

Hi, I'm trying to extract information from one file to update another one and am a bit stuck. the first file is made up of tags e.g. <item>a@b.com</item> jksdhfjkdsh sldkjfds l klsjdf <item> c@d.com </item> what i'd like to do is extract the email addresses between these tags,... (6 Replies)
Discussion started by: newb1000
6 Replies

2. Shell Programming and Scripting

Error in Shell Script - Can anyone help Pls

Please find my shell script below ------------------------------------- #!/usr/bin/ksh ORAUSER=$1 P_REQUEST_ID=$4 current_time=`date +%m%d%y.%H%M%S` echo "Process started at `date +%m/%d/%y.%H:%M:%S`" #Intialize Variables export SHLIB_PATH=/usr/local/lib ext=".pdf" ps_ext=".ps"... (4 Replies)
Discussion started by: uuuunnnn
4 Replies

3. Shell Programming and Scripting

Can root user run chmod 000 permission shell script?

Hi, I have a shell script file which is set to access permission 000. When I login as root (sudo su) and try to run this script, I am getting the Permission denied error. I have read somewhere that root admin user can execute any kind of permission script. Then why this behavior? However, I can... (1 Reply)
Discussion started by: royalibrahim
1 Replies

4. Shell Programming and Scripting

how to print out data from mysql table in perl script

I'm having trouble with this code. if i do .\read.pl -u user it prints out 2010-12-20 12:00:00 host1 <cmd>a 2010-12-20 12:00:01 host1 <cmd> <execute> 2010-12-20 12:00:02 host1 <cmd>b 2010-12-20 12:00:03 host1 <cmd>c however, if i enter .\read.pl -h host1 it should... (3 Replies)
Discussion started by: kpddong
3 Replies

5. Shell Programming and Scripting

Adding lines to file through a shell script

Hi, I'm pretty new to the whole scripting thing. I've gotten a decent hang of it so far but am wondering if there's a way to add lines to a C, C++, Java, HTML, text file with a shell script. Any help would be greatly appreciated. :) (4 Replies)
Discussion started by: Doctor Manhatta
4 Replies

6. Shell Programming and Scripting

shell script, pls help

# for i in `cat oo`;do ls -ld $i;done ls: /var/tmp/i: No such file or directory ls: i: No such file or directory ls: /var/tmp/ii: No such file or directory ls: i: No such file or directory ls: /var/tmp/iii: No such file or directory ls: i: No such file or directory ls: /var/tmp/iiii: No such... (2 Replies)
Discussion started by: cpttak
2 Replies

7. Shell Programming and Scripting

Shell Script Required? Pls. help me

Hi All, I have Information in the file like, ============ Interface Information ==================== +++++++++++++++++ NMInterface ++++++++++++++ ObjID:251c55a2-2257-71dd-0f68-9887a1f10000 NNMObjID:82857 EntityName:aust00m1.mis.amat.com ] Description:ATM9/0/0-atm layer Discovered in... (22 Replies)
Discussion started by: ntgobinath
22 Replies

8. Shell Programming and Scripting

Shell Script Requirements pls

Moderators note: This user has been banned for persistent rule breaking despite being warned that this would be the result. (0 Replies)
Discussion started by: tt1ect
0 Replies
Login or Register to Ask a Question