Hi All,
I have written 4 sql queries . Now I want to write one SHELL SCRIPTING program for all these queries...
i.e
1.select * from head;
2. select * from detail;
3. delete from head;
4. delete from detail;
Please let me know how to write a shell script...
Thank you (1 Reply)
Hello Guys...
I want a small help from you guys.
Actually in Oracle, we are having a utlity called spool through which can store whatever SQL statements executed and other queries and the output of those queries in a file
So, similarly in Unix, if I start a session executing a number of Unix... (2 Replies)
I'm having problems with writing my sql results to a file:
sqlplus -S username/password@DB <<!!
set echo off
set verify off
set showmode off
set feedback off
set timing off
set linesize 250
set wrap off
set pagesize 0
set newpage none
set tab off
set trimspool on
set colsep... (1 Reply)
While assisting a forum member, I recommended running SQL/Plus in a coprocess (to make database connections and run a test script) for the duration of his script rather than starting/stopping it once for every row in a file he was processing.
I recalled I made a coprocess example for folks at... (2 Replies)
Hi,
I am new to linux...
How to Assign SQL Query Results to Variables in Linux,i want ti generate it in param files, Can anyone please explain me.
Ex: SQL> Select * from EMP;
O/P: Emp_No Emp_Name
1 AAA
2 BBB
3 CCC
and I want expected... (5 Replies)
Requirement 1) I need to execute 15 SQL queries in oracle through linux script. All these query results needs to be stored in array variables.
Requirement 2) And these 15 queries needs to be executed in parallel.
Requirement 3) Once all the queries executed then the shell script should... (3 Replies)
how to store the count of queries in variables inside a filein shell script
my output :
filename
-------
variable1=result from 1st query
variable2=result from 2nd query
.
.
.
. (3 Replies)
Hi All,
I have a file queries.txt as follows :
SELECT COLUMN1 FROM SCHEMA2.TABLE1 MINUS SELECT COLUMN1 FROM SCDEMA2.TABLE2;
SELECT COLUMN2 FROM SCHEMA2.TABLE1 MINUS SELECT COLUMN2 FROM SCDEMA2.TABLE2;
SELECT COLUMN3 FROM SCHEMA2.TABLE1 MINUS SELECT COLUMN3 FROM SCDEMA2.TABLE2;
SELECT... (2 Replies)
How to run multiple Queries in a ksh Script
I have a KSH script that has one SQL Query and generates and emails output of the query in HTML format. I want to change the script so that it has three SQL queries and the last query generates and emails the HTML output page of just that query.
So far... (5 Replies)
Hi All,
I want to run multiple sql queries and store the data in variable but i want to use sql command only once. Is there a way without running sql command twice and storing.Please advise.
Eg :
Select 'Query 1 output' from dual;
Select 'Query 2 output' from dual;
I want to... (3 Replies)
Discussion started by: Rokkesh
3 Replies
LEARN ABOUT CENTOS
cmpiinstance
3(2005-06-09) 3(2005-06-09)
NAME
CMPIInstance - CMPIInstance class implementation
SYNOPSIS
Public Attributes
int void * hdl
Opaque pointer to class instance data.
CMPIInstanceFT * ft
Pointer to the Args Function Table.
METHODS
CMPIStatus(* release )(CMPIInstance *inst)
The Instance object will not be used any further and may be freed by CMPI run time system.
CMPIInstance *(* clone )(CMPIInstance *inst, CMPIStatus *rc)
Create an independent copy of this Instance object.
CMPIData(* getProperty )(CMPIInstance *inst, const char *name, CMPIStatus *rc)
Gets a named property value.
CMPIData(* getPropertyAt )(CMPIInstance *inst, unsigned int index, CMPIString **name, CMPIStatus *rc)
Gets a Property value defined by its index.
unsigned int(* getPropertyCount )(CMPIInstance *inst, CMPIStatus *rc)
Gets the number of properties contained in this Instance.
CMPIStatus(* setProperty )(CMPIInstance *inst, const char *name, CMPIValue *value, CMPIType type)
Adds/replaces a named Property.
CMPIObjectPath *(* getObjectPath )(CMPIInstance *inst, CMPIStatus *rc)
Generates an ObjectPath out of the namespace, classname and key propeties of this Instance.
CMPIStatus(* setPropertyFilter )(CMPIInstance *inst, char **propertyList, char **keys)
Directs CMPI to ignore any setProperty operations for this instance for any properties not in this list.
DESCRIPTION
Native CMPIInstance implementation.
This is the native CMPIInstance implementation as used for remote providers. It reflects the well-defined interface of a regular CMPIIn-
stance, however, it works independently from the management broker.
It is part of a native broker implementation that simulates CMPI data types rather than interacting with the entities in a full-grown
CIMOM.
SEE ALSO
Common Manageability Programming Interface (CMPI) - OpenGroup
SFCBroker Client Library sfcc 3(2005-06-09)