1) Read the file called "file_to_read", extract the data, generate the query with the "IN" operator and redirect it to a file called "file.sql"
2) Connect to sqlplus and run the file "file.sql".
That way, you do not hold the entire query in a shell variable - you save it in a file.
My dummy Oracle table called "hello" looks like this:
On the Linux filesystem, the files look like this -
When the shell script "example.sh" runs, it first creates "file.sql" which is then used to query the Oracle table and redirect the output to "tramit.dat".
Hi
Does any one have any idea on uploading the data using Unix Shell script from text file to Oracle database.
Requirement:-
1. Need to connect to Oracle database from Unix Shell script.
2. Need to pick Text file from some location on Unix Box.
3. Need to upload the data from text file to... (6 Replies)
Hi all,
I have a data like,
0,R001,2,D
this wants to be loaded into a oracle database table.
Pl let me know how this has to be done.
Thanks in advance (2 Replies)
Hi All,
I have a linux centos instance which has a dump file. I need to import the dump file to the oracle server which is located at some remote location. I have installed the oracle client on my machine and I am able to connect to the remote oracle server.
Now how to import the dump to the... (3 Replies)
Hi All,
I am facing one problem related to importing Oracle Dump file.
We have two different version of AIX boxes with oracle (version 10.2.0.4.0) installed.
On one AIX box (version 6.1) we are creating oracle dump file (*.dmp) using oracle exp utility and importing it onto another AIX box... (1 Reply)
Hi,
Is it possible to pass oracle connection information from a configuration file and use that to connect to oracle database in my unix shell scripts. Following is the scenario:
(1) I would like to save oracle connection string details in a configuration file (ex., dbconfig.txt)
(2) from my... (6 Replies)
1. The problem statement, all variables and given/known data:
are the oracle dump files compatible to direct import into db2?
I already tried many times but it always truncated results.
anyone can help/ advice or suggest?
2. Relevant commands, code, scripts, algorithms:
exp... (3 Replies)
I am facing issue related to performance of one customized application running on RHEL 5.9. The application stalls for some unknown reason that I need to track. For that I require some tool or shell scripts that can monitor the CPU usage statistics (what we get in TOP or in more detail by other... (6 Replies)
Dear Team,
please help me to solve this problem using Linux command. I want to dump this data into an excel sheet,
Suppose I have a string like:
ABC
PQR
XYZ
ASD
then I expect output as a
ABC XYZ
PQR ASD (3 Replies)
Discussion started by: Shubham1182
3 Replies
LEARN ABOUT MOJAVE
parse::method::signatures::param
Parse::Method::Signatures::Param(3) User Contributed Perl Documentation Parse::Method::Signatures::Param(3)NAME
Parse::Method::Signatures::Param - a parsed parameter from a signature
ATTRIBUTES
All attributes of this class are read-only.
required
Is this parameter required (true) or optional (false)?
sigil
The effective sigil ('$', '@' or '%') of this parameter.
type_constraints
Type: Parse::Method::Signatures::TypeConstraint
Predicate: has_type_constraints
Representation of the type constraint for this parameter. Most commonly you will just call "meta_type_constraint" and not access this
attribute directly.
default_value
Type: Str
Predicate: has_default_value
A string that should be eval'd or injected to get the default value for this parameter. For example:
$name = 'bar'
Would give a default_value of "'bar'".
constraints
Type: ArrayRef[Str]
Predicate: has_constraints
"where" constraints for this type. Each member of the array a the string (including enclosing braces) of the where constraint block.
param_traits
Type: ArrayRef[ Tupple[Str,Str] ]
Predicate: has_traits
Traits that this parameter is declared to have. For instance
$foo does coerce
would have a trait of
['does', 'coerce']
METHODS
to_string
meta_type_constraint
Get the Moose::Meta::TypeConstraint for this parameter. Check first that the type has a type constraint:
$tc = $param->meta_type_constraint if $param->has_type_constraints;
SEE ALSO
Parse::Method::Signatures.
AUTHORS
Ash Berlin <ash@cpan.org>.
Florian Ragwitz <rafl@debian.org>.
LICENSE
Licensed under the same terms as Perl itself.
perl v5.18.2 2013-02-28 Parse::Method::Signatures::Param(3)