How to update a Oracle table through shell scripting?
My Code is
I need to update a table in oracle through .sh script in unix
When i execute the above code it gives me select keyword missing error
Can you help me how to resolve this in order to update a table
Last edited by karthick.cho; 09-12-2013 at 01:49 AM..
Hi,
I would like to know how to update a table in Oracle database, if a command in one shell script either successfully completes or it fails.(like Y if its success or N if its a failure)
While the command is running,I am able to view the log file created in the Unix machine.After the command... (2 Replies)
Hi friends,
i am having a variable declared in .profile.i am changing its value in a shell script and then i am connecting to oracle and then from there i am calling a .sql called update.sql
STATUS is the variable declared in the .profile
===============================
if
sqlplus <<END... (3 Replies)
Hi,
I have delimited file(|).
Sample data:
1|name|50009|DS24|0|12
2|name|30009|DS24|0|13
3|name|20409|DS24|0|14
4|name|20009|DS24|0|15
5|name|10009|DS24|0|16
I want to load this data into a oracle table (update and insert)
Please help me the commands and also... (1 Reply)
Hi All,
I need to write a shell script in UNIX that should accept booking number as an argument and update it with value "NULL" if the transaction date is greater than 2 years. Booking number and transaction_date are the two columns of the table table_booking.
Something like this, through... (3 Replies)
Hi
Can we create a rectangular table as i have attached in the query .
This is primarily for populating the created table with data gathered .
Hope I made myself clear ...
Pls suggest
Thanks (1 Reply)
Hi, unix gurnis
I need help for following requirement for writing a shell scritp.
log in to oracle database, query one table total records (select count(*) from table1), pass the return value to a file.
Thanks in advance (2 Replies)
Hi,
I want to write a shell script which will export data from oracle table .
I don't want to save that data . I want the queries .
Right now i am right clicking on the table and clicking on export as to my desktop .
Please let me know if any one have any idea . (2 Replies)
Below is my code where i tried using table tag to print out put in table but its not working
#!/bin/ksh
#] && . ./.profile 2>/dev/null
if test -f '.profile'; then . ./.profile; fi;
#. .profile
LOG_DIR=/app/rpx/jobs/scripts/just/logs
sendEmail()
{
pzCType="$1";... (5 Replies)
Hi,
I am trying to create a table through shell scripting . I used a command sqlplus -s to connect to sqlplus and user as sysdba. but there is a problem in it. can anyone please solve this .
#!/bin/bash
$(`sqlplus -s / as sysdba <<eof
create table sample (id,int);
insert into sample... (1 Reply)
Discussion started by: Unregistered
1 Replies
LEARN ABOUT LINUX
debconf-updatepo
DEBCONF-UPDATEPO(1) po-debconf DEBCONF-UPDATEPO(1)NAME
debconf-updatepo - update PO files about debconf templates
SYNOPSIS
debconf-updatepo [-v] [-h] [--podir=DIR] [--skip-pot] [--skip-merge] [--msgid-bugs-address=EMAIL]
DESCRIPTION
This program reads po/POTFILES.in to determine which master files need to be processed, then extracts new gettext strings into
po/templates.pot and updates all po/*.po files. This script can be called either in the top-level directory, or in the debian or debian/po
subdirectories. It is run by developer and/or translator to update PO files when the English text is modified in templates files.
OPTIONS -h, --help
Display a usage summary and exit.
-v, --verbose
Process in verbose mode.
--podir=DIR
Set directory for PO files. By default PO files are searched in debian/po, po and ../po directories in that order.
--skip-pot
Do not generate a new po/templates.pot file.
--skip-merge
Do not merge existing PO files with po/templates.pot.
--msgid-bugs-address=EMAIL
Set the email address that will be specified in the POT's Report-Msgid-Bugs-To field.
By default, this field is set to <package>@package.debian.org.
It is intended for the maintainers of Debian based distributions, and should be used in the following cases:
o The package is not present in Debian (and thus the <package>@packages.debian.org address does not exist).
o The maintainer made significant changes in the debconf templates (or added templates to a Debian package without templates), and
does not want to bother the Debian maintainer with bug reports that won't be relevant for the Debian maintainer.
The default address is preferred to avoid corrections in the Debian based distribution without a notification to the Debian maintainer.
SEE ALSO debconf-gettextize(1), po2debconf(1), podebconf-report-po(1), po-debconf(7).
AUTHOR
Denis Barbier <barbier@linuxfr.org>
2010-11-17 DEBCONF-UPDATEPO(1)