I would like to use the result of a query in another query. How do I redirect/add the output to another variable?
$result = odbc_exec($connect, $query);
while ($row = odbc_fetch_array($result)) {
echo $row,"\n";
}
odbc_close($connect);
?>
This will output hostnames:
host1... (0 Replies)
Hi,
I have a requirement as below which needs to be done viz UNIX shell script
(1) I have to connect to an Oracle database
(2) Exexute "SELECT field_status from table 1" query on one of the tables.
(3) Based on the result that I get from point (2), I have to update another table in the... (6 Replies)
Executed the following if conditions .. and got different results .
only (( )) gave correct o/p with all scenarios .
Can anybody please let me know what is the difference between and ] and ((condition)) when used with if condition.
And why each condition gave different result.
1.... (2 Replies)
I know little SQL and could really use a hand here. I need to get the fields last_name, first_name and email from the table users and only if the entery with the same pkey in the table addresses, in the city column is Seattle.
So if the city in the addresses table is Seattle, go to the table... (2 Replies)
hi,
I have some problems in my simple script about the redirect echo stdout command inside a condition. Why is the echo command inside the elif still execute in the else command
Here are my simple script
After check on the two diff output the echo stdout redirect is present in two diff... (3 Replies)
Hi,
I need to query Oracle database for 100 users. I have these 100 users in a file. I need a shell script which would read this User file (one user at a time) & query database.
For instance:
USER CITY
--------- ----------
A CITY_A
B CITY_B
C ... (2 Replies)
HI
My doubt may be basic one but I need to get it clarified..
When i use "if" condition that checks for many AND, OR logical conditions
like
if ]; then
return 0
fi
Even the if condition fails it returns as zero.. Any clue..
But if i add else condition like
if ]; ... (2 Replies)
o/p of my command is given below
My requirement is
if Pnumber is 0 then
stabilization.Build.2013
else
stabilization.PBuild.2013.3 (11 Replies)
Discussion started by: nikhil jain
11 Replies
LEARN ABOUT FREEBSD
ctfmerge
CTFMERGE(1) BSD General Commands Manual CTFMERGE(1)NAME
ctfmerge -- merge several CTF data sections into one
SYNOPSIS
ctfmerge [-fgstv] -l label -L labelenv -o outfile file ...
ctfmerge [-fgstv] -l label -L labelenv -o outfile -d uniqfile [-g] [-D uniqlabel] file ...
ctfmerge [-fgstv] -l label -L labelenv -o outfile -w withfile file ...
ctfmerge [-g] -c srcfile destfile
DESCRIPTION
The ctfmerge utility merges several CTF data sections from several files into one output file, unifying common data.
The following options are available:
-f Match global symbols to global CTF data.
-g Don't delete the original debugging sections.
-s Use the .dynsym ELF section instead of the .symtab ELF section.
-t Make sure that all object files have a CTF section.
-v Enable verbose mode.
-l label
Sets the label as label.
-L labelenv
Instructs ctfmerge to read the label from the environment variable labelenv.
-o outfile
Use outfile to store the merged CTF data.
-d uniqfile
Uniquify against uniqfile.
-d uniqlabel
Uniquify against label uniqlabel
-w withfile
Additive merge with withfile.
-c srcfile destfile
Copy CTF data from srcfile into destfile.
EXIT STATUS
The ctfmerge utility exits 0 on success, and >0 if an error occurs.
SEE ALSO ctfconvert(1), ctfdump(1)HISTORY
The ctfmerge utility first appeared in FreeBSD 7.0.
AUTHORS
The CTF utilities came from OpenSolaris.
BSD July 7, 2010 BSD