08-19-2008
it depends on your database setup..
because dba_tables has been created by youe DBA's..
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I am working on a code to extract the table names out of a select statement. Is there anybody who has worked on something similar? May be you could provide me with the regular expression for the same.
Regards.
Silas (2 Replies)
Discussion started by: silas.john
2 Replies
2. UNIX for Dummies Questions & Answers
:rolleyes: hi there everybody,
i need help,... thanks anyway!
i am working on a very huge table with the name table1. the problem is that i know only one field name in this table...,
working with a ksh environment i don't know how to view the table to check out the field names :confused:.
... (4 Replies)
Discussion started by: fmina
4 Replies
3. Shell Programming and Scripting
Hi,
I am new to awk and want to create a script that finds a string of text then prints the following table to a seperate file.
I thought of using the / / identifier, but how do I retrieve the next 15 lines?
gavin (6 Replies)
Discussion started by: gav2251
6 Replies
4. Shell Programming and Scripting
Hi all,
I am using the following code in order to access the data of a table:
my $sql = qq{ SELECT * FROM cc_test_cases};
$sth = $dbh->prepare( $sql );
$sth->execute( );
while(@row1 = $sth->fetchrow_array()) {
# print "$row1: $row1\n";
print "@row1\n";
#print("THE VALUE... (1 Reply)
Discussion started by: chriss_58
1 Replies
5. Shell Programming and Scripting
I am needing to extract and list domain names out of a very large text file. The text file contains tlds .com .net .org and others as well as third level domains e.g. host1.domain.com and the names are placed within paragraphs of text.
Domains do not have a http:// prefix so I'm thinking the... (6 Replies)
Discussion started by: totus
6 Replies
6. UNIX for Advanced & Expert Users
Hi All,
The following is the sample xml which is generated by a tool called HUDSON when ever change occurs in SVN(Sub version namespace).
In the given XML , path/paths tags ll be vary depends on no.of changes.
now , my requirement is, need a script which can extract the payment and... (1 Reply)
Discussion started by: geervani
1 Replies
7. Web Development
Hey everyone. Thanks for looking at this.
I'm trying to create a table with the dynamic name of TableName + today's date.
My variables are all happily created but the system chokes when I try to create the new table name example:
Set @BFBW = CONCAT("BFBW", CURDATE());
Select @BFBW;
... (2 Replies)
Discussion started by: Astrocloud
2 Replies
8. Shell Programming and Scripting
hi ,
i have control-m tool where i can schedule my unix script jobs to run automatically by created them in a table..
now i want a script to generate the sheet with table names that are created in cotrol-m tool...
i dont know whether it possible or not..
thanks in advance.
hemanth saikumar (6 Replies)
Discussion started by: hemanthsaikumar
6 Replies
9. Shell Programming and Scripting
Hi All,
I am writing a shell script to extract oracle table into a pipe dilemited flat file. Below is my code and I have attached two files that I have abled to generate so far.
1. Table.txt ==> database extract file
2. flat.txt ==> pipe delimited after some manipulation of the original db... (0 Replies)
Discussion started by: express14
0 Replies
10. UNIX and Linux Applications
Hello All,
I'm trying to spool an oracle table data into a csv file on unix server but the complete record is not being extracted. The record is almost 1000 characters but only 100 characters are being extracted and rest of the data getting truncated.
I'm setting below options :
SET... (4 Replies)
Discussion started by: venkat_reddy
4 Replies
LEARN ABOUT NETBSD
ypwhich
YPWHICH(1) BSD General Commands Manual YPWHICH(1)
NAME
ypwhich -- return hostname of NIS server of map master
SYNOPSIS
ypwhich [-T] [-d domain] [[-h] host]
ypwhich [-fTt] [-d domain] [-h host] -m [mname]
ypwhich -x
DESCRIPTION
ypwhich tells which NIS server supplies NIS services to a client, or which is the master for a map. If invoked without arguments, it gives
the NIS server for the local machine. If host is specified, that machine is queried to find out which NIS server it is using.
The options are as follows:
-d domain Specify a domain other than the default domain.
-f When used in conjunction with -m, force ypwhich to query host directly, without using the local copy of ypbind(8).
-h host Specify a host other than localhost to query for information.
-m [mname] Find the master NIS server for the named map. mname can be a map name or nickname. If mname is omitted, ypwhich will produce a
list of available maps.
-T Use TCP protocol instead of UDP.
-t Inhibit translation of map nicknames to their corresponding map names.
-x Display the map nickname table, found in /var/yp/nicknames. A built-in default translation table is used if /var/yp/nicknames
does not exist (see nicknames(5) for details).
EXIT STATUS
ypwhich exits with a non-zero exit code if -m is used, and there was a problem in determining the map's master.
SEE ALSO
domainname(1), ypcat(1), ypmatch(1), nicknames(5), nis(8), ypbind(8), yppoll(8), ypset(8)
AUTHORS
Charles D. Cranor
Greywolf
BSD
January 24, 2008 BSD