07-13-2007
Is that the actual format of the data and not a simplified version?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
hi
i need to use unix to extract data from several rows of a table coded in html. I know that rows within a table have the tags <tr> </tr> and so i thought that my first step should be to to delete all of the other html code which is not contained within these tags. i could then use this method... (8 Replies)
Discussion started by: Streetrcr
8 Replies
2. Shell Programming and Scripting
Hi ,
I want to read the data from 9 tables in oracle DB into 9 different files in the same connection instance (session). I am able to get data from one table to one file with below code :
X=`sqlplus -s user/pwd@DB <<eof
select col1 from table1;
EXIT;
eof`
echo $X>myfile
Can anyone... (2 Replies)
Discussion started by: net
2 Replies
3. UNIX Desktop Questions & Answers
Hi
I am trying to write a script to extract information from a database and save that info to a csv file.
I am using sql, an oracle database
I have no idea how to even begin this.
Can somebody please help. (8 Replies)
Discussion started by: ladyAnne
8 Replies
4. Shell Programming and Scripting
Hi,
I have two databases with same tables on different servers.I need to check the data content in each table and if something is missing, should print that.
I have a tool which takes the snapshot the table structure,index so on and compares with the other server tables snapshot.
Now i need... (1 Reply)
Discussion started by: nessj
1 Replies
5. Shell Programming and Scripting
I've been trying to figure this out for a while but I'm completely stumped. I have files with data in rows and I need to convert the data to columns. Each record contains four rows with a "field name: value" pair. I would like to convert it to four columns with the field names as column headers... (5 Replies)
Discussion started by: happy_ee
5 Replies
6. Shell Programming and Scripting
HOw to extracts data from tables in database. Merges them into one output file. This output file is loaded into another tables in database. (1 Reply)
Discussion started by: nari.bommi
1 Replies
7. Shell Programming and Scripting
Hello All,
I have one table contains:
Table1:
5
10
30
40
60
80
...
Table 2:
10
20
60
80 (7 Replies)
Discussion started by: krsnadasa
7 Replies
8. Shell Programming and Scripting
I want to lookup values from two different tables based on common columns and append. The trick is the column to be looked up is not fixed and varies , so it has to be detected from the header. How can I achieve this at once, for multiple data files, but lookup tables fixed.
The two lookup... (5 Replies)
Discussion started by: ritakadm
5 Replies
9. Shell Programming and Scripting
my queryis :
select distinct m.name, item_count, item from master m join client p on m.name=p.name where item_count = 1 and item > 1;
But how should I update them?
i used update statetment :
Update from client Set item =1 where m.name=p.name and item_count=1 AND item>1
Is this wrong? (1 Reply)
Discussion started by: siya@
1 Replies
10. Shell Programming and Scripting
Hi There,
I'm trying to write a simple script that will email me when we have an application job in a certain status that needs human intervention. I've used this script for other tables and it works great. However, this one gives me the warning that there is binary data so it might not. ... (2 Replies)
Discussion started by: Colel2
2 Replies
PFS(8) BSD System Manager's Manual PFS(8)
NAME
pfs -- save and restore information for NAT and state tables
SYNOPSIS
pfs [-v] -l
pfs [-bv] -R filename
pfs [-bv] -r filename
pfs [-v] -u
pfs [-bv] -W filename
pfs [-bv] -w filename
DESCRIPTION
The pfs command allows state information created for NAT entries and rules using ``keep state'' to be locked (modification prevented) and
then saved to disk, allowing for the system to experience a reboot, followed by the restoration of that information, resulting in connections
not being interrupted.
OPTIONS
-b The information are read or stored using binary format. The default format is a readable ASCII format, similar to pfctl.conf
syntax.
-l Lock state tables in the kernel.
-R filename Restore information from filename and load it into the kernel. The state tables are locked at the beginning of this operation
and unlocked once complete.
-r filename Read information in from filename and load it into the kernel. This requires the state tables to have already been locked and
does not change the lock once complete.
-u Unlock state tables in the kernel.
-v Provide a verbose description of what's being done.
-W filename Write information from the kernel out to filename. The state tables are locked at the beginning of this operation and
unlocked once complete.
-w filename Write information from the kernel out to filename. This requires the state tables to have already been locked and does not
change the lock once complete.
FILES
/dev/pf
SEE ALSO
pf(4)
BSD
July 21, 2009 BSD