03-21-2007
Quote:
Originally Posted by jacoden
Hi,
You can use sqlldr command directly from unix to do this.
Syntax is like this :
sqlldr control=ctlFile log=logFile bad=badFile
Below one is a good link explaining creating the control, data , load, bad log files..
Read this
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello people,
Need favour. The problem I have is that, I need to develop a unix shell script that performs recurring exports of data from a csv file to an oracle database. Basically, the csv file contains just the first name and last name will be dumped to an Unix server. The data from these... (3 Replies)
Discussion started by: vinayagan
3 Replies
2. Shell Programming and Scripting
Since i'm new to scripting i'm findind it difficult to code a script. The script has to be an executable with 2 paramters passed to it.The Parameters are
1. The Control file name(.ctl file)
2. The Data file name(.csv file)
Does anybody have an idea about it? :confused: (3 Replies)
Discussion started by: Csmani
3 Replies
3. Shell Programming and Scripting
shell script (4 Replies)
Discussion started by: frns5
4 Replies
4. Shell Programming and Scripting
Hi all,
I am satyakiran , i am new to the forum. i never done shell scripts for connecting to the data base (oracle) and fetching the data from the database( thru sql select statements ) i want to know
1. how to connect to the data base(oracle) using shell script
2. how to retrieve data... (8 Replies)
Discussion started by: satyakiran
8 Replies
5. Shell Programming and Scripting
Hi,
How to extract the data from Oracle database and sent the output data to mails using mailx command with .xls attachement?
Here i know how to connect the database using unix shell script and
how to use the mailx command in UNIX script
But i don't know how to use the .xls format file (i... (1 Reply)
Discussion started by: psiva_arul
1 Replies
6. Shell Programming and Scripting
Enclosed is comma separated text file. I need to write a korn shell program that will parse the text file and insert the values into Oracle database.
I need to write the korn shell program on Red Hat Enterprise Linux server.
Oracle database is 10g. (15 Replies)
Discussion started by: shellguy
15 Replies
7. Shell Programming and Scripting
Hello everyone,
I am new to shell scripting/ loading data into a database.
I want to load data into Oracle database using SQL loader. Can some one please explain why do we need unix shell script to load the data into the database? Also can someone please explain what has to be in that script?... (5 Replies)
Discussion started by: new_prog
5 Replies
8. Shell Programming and Scripting
Hi Unix Gurus,
I have a requirement to write a script, Oracle DB gets referesh every 6hrs, hence we need write a script to connect to the database , if it connects it should generate a file to proceed the next job application or when an error when connectiong to DB it should not generate any... (8 Replies)
Discussion started by: bshivali
8 Replies
9. Shell Programming and Scripting
Hi All,
I am newbie to unix shell scripting. I want to connect to oracle database using shell script. I know how to connect DB using user name and password but my question is if my password is having '@' sign then how to connect.
I have tried like below,
cnt=`sqlplus -s /nolog << EOFSQL
... (3 Replies)
Discussion started by: pmotewar
3 Replies
10. Shell Programming and Scripting
I am looking for HTML code that browse text file and grep with database file then retrieve result
txtfileuploaded contain
112233
115599
113366
shell code
grep -F -f txtfileuploaded /data/database.txt
result
112233 Mar 41$
115599 Nov 44$
113366 Oct 33$
attached... (2 Replies)
Discussion started by: phpshell
2 Replies
LEARN ABOUT DEBIAN
ns_log
ns_log(3aolserver) AOLserver Built-In Commands ns_log(3aolserver)
__________________________________________________________________________________________________________________________________________________
NAME
ns_log, ns_logctl - commands
SYNOPSIS
ns_log severity message
_________________________________________________________________
DESCRIPTION
While the AOLserver is running it logs various events from Notices to Fatal errors. Usually the AOLserver is running in the background, in
which case these messages are placed in the server log. In absence of an ServerLog key in the AOLserver nsd.ini file, this file is the
/log/error.log under the AOLserver installation directory. When the AOLserver is running in the foreground the messages are redirected to
stderr.
ns_log writes the message to the server error log file. Allowable values for severity are:
Notice - Something interesting occurred.
Warning - Something that could mean something bad occurred.
Error - Something bad occurred.
Fatal - Something extremely bad occurred. The server will shut down after logging the message.
Bug - Something occurred that implies that there is a bug in the code.
Debug - If the server is in Debug mode, the message is printed. Debug mode is specified in the [ns/parameters] section of the configuration
file. Otherwise, the message is not printed.
SEE ALSO
nsd(1), info(n)
KEYWORDS
AOLserver 4.0 ns_log(3aolserver)