I want to collect the database tables(Ex: Emp,Sal,Bonus...etc)
in a file & give this file at the command prompt, when prompted for the tables list at command prompt. How can i do that ?
Ex:- Import jason/jason1 tables=emp,sal,bonus log=j1.log
i want to change this into
Ex:- Import... (3 Replies)
Hi All,
I need to write a shell script(ksh) to take the tables backup in oracle(exporting tables data).
The tables list is not static, and those are selecting through dynamic sql
query. Can any body help how to write this shell script.
Thanks, (3 Replies)
I am trying to transpose tables listed in the format into format. Any help would be greatly appreciated.
Input:
test_data_1
1 2 90%
4 3 91%
5 4 90%
6 5 90%
9 6 90%
test_data_2
3 5 92%
5 4 92%
7 3 93%
9 2 92%
1 1 92%
...
Output:... (7 Replies)
Hi,
Here is my problem.. i have 2 files (file1, file2).. i have wrote the last two lines and first 4 lines of "file2" into two different variables .. say..
my $firstrec = `head -4 $file2`;
my $lastrec = `tail -2 $file2`;
and i write the rest of the file2 to a tmpfile and cat it with head... (2 Replies)
hi fndz.
Can you please help me with the code if I call a stored procedure from my shell script and stored procedure returns a cursor,
cursor output should be saved to a file (3 Replies)
I am trying to write binary data to a file. My program below:
#include <stdlib.h>
#include <stdio.h>
struct tinner {
int j;
int k;
};
struct touter {
int i;
struct tinner *inner;
};
int main() {
struct touter data;
data.i = 10;
struct tinner... (4 Replies)
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)
Hi guys, I am writing a vector into a binary file (linux of course), but somehow there seems to be something wrong with this code, because the output file size in binary is BIGGER than doing it with the same vector but insead of binary, in plain text, and I as far as I understand, binary files size... (8 Replies)
Hello All,
I need to read values from database and then need to write to a file. Planning to do that as binary since no one can modify the values. We tried to write the file in "B" mode and the file is created but when I try to open in notepad I am able to do. I there a way that someone should... (4 Replies)
HI
I have a dsv file that looks like:
<<BOF>>
record_number|id_number|first name|last name|msisdn|network|points|card number|gender
312|9101011234011|Test Junior|Smith|071 123 4321|MTN|73|1241551413214444|M
313|9012023213011|Bob|Smith|27743334321|Vodacom|3|1231233232323244|M... (4 Replies)
Discussion started by: tera
4 Replies
LEARN ABOUT DEBIAN
vde_autolink
VDE_AUTOLINK(1) User Commands VDE_AUTOLINK(1)NAME
vde_autolink - automatically create and maintain vde connections
DESCRIPTION -h, --help
Display this help
-f, --rcfile
Configuration file (overrides /etc/vde_autolink.rc and ~/.vde_autolinkrc)
-d, --daemon
Daemonize vde_autolink once run
-p, --pidfile PIDFILE
Write pid of daemon to PIDFILE
-M, --mgmt SOCK
Path of the management UNIX socket
--mgmtmode MODE
Management UNIX socket access mode (octal)
-s, --sock
[*] Attach to this vde_switch socket
-S, --switchmgmt
[*] Attach to this vde_switch management socket
[*] == Required option! -h, --help Display this help -f, --rcfile Configuration file (overrides
/etc/vde_autolink.rc and ~/.vde_autolinkrc) -d, --daemon Daemonize vde_autolink once run -p, --pidfile PIDFILE
Write pid of daemon to PIDFILE -M, --mgmt SOCK Path of the management UNIX socket
--mgmtmode MODE
Management UNIX socket access mode (octal)
-s, --sock
[*] Attach to this vde_switch socket
-S, --switchmgmt
[*] Attach to this vde_switch management socket
[*] == Required option!
NOTICE
Virtual Distributed Ethernet is not related in any way with www.vde.com ("Verband der Elektrotechnik, Elektronik und Informationstechnik"
i.e. the German "Association for Electrical, Electronic & Information Technologies").
SEE ALSO vde_switch(1), vde_plug(1),
AUTHORS
VDE is a project by Renzo Davoli <renzo@cs.unibo.it>.
vde_autolink is a VDE component by Luca Bigliardi
vde_autolink 2.2.0-pre1 November 2007 VDE_AUTOLINK(1)