Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Extracting all table names from a given server Post 302226424 by vidyadhar85 on Tuesday 19th of August 2008 02:56:43 AM
Old 08-19-2008
then try this...
SHOW TABLES FROM dbname;
or this..
SELECT * FROM INFORMATION_SCHEMA.TABLES;
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Extracting Table names from a Select Stament

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

Extracting column names from a table.. SQL with UNIX

: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

extracting table with awk

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

Show column names when access a table using perl

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

extracting domain names out of a text file

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

extracting the component names from SVN changes xml file

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

MYSQL: Creating Dynamic Table Names 5.1

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

Script to generate sheet with control-m table names

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

URGENT HELP!!! Extracting db table into flat file

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

UNIX spool command not extracting complete record from the Oracle table

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
XtGetKeysymTable()														XtGetKeysymTable()

Name
  XtGetKeysymTable - return a pointer to the keycode-to-keysym mapping table of a  display.

Synopsis
  KeySym *XtGetKeysymTable(display, min_keycode_return,
  keysyms_per_keycode_return)
	   Display *display;
	   KeyCode *min_keycode_return;
	   int *keysyms_per_keycode_return;

Inputs
  display   Specifies the display whose table is required.

Outputs
  min_keycode_return
	    Returns the minimum keycode valid for the display.

  keysyms_per_keycode_return
	    Returns the number of keysyms stored for each keycode.

Returns
  The keycode-to-keysym table for display.

Availability
  Release 4 and later.

Description
  XtGetKeysymTable()  returns  a pointer to the Intrinsics' copy of the X server's keycode-to-keysym table, which must not be modified by the
  application.	This table is simply an array of KeySym.  The number of keysyms associated with each keycode is returned in  keysyms_per_key-
  code_return.	 The  first  keysyms  in  the table are for the keycode returned in min_keycode_return.  The keysyms for a keycode k begin at
  index:

     k - min_keycode_return) * keysyms_per_keycode_return

  Any entries in the table that have no keysyms associated with them contain the value NoSymbol.

Usage
  The Intrinsics maintains a table internally to map keycodes to keysyms for each open display.  The Translation Manager uses this table, and
  custom keycode-to-keysym translator procedures (see XtSetKeyTranslator()) and other clients may also need to use it.	Most applications and
  widgets will never need to use this function.

  You should not cache this keysym table but should call XtGetKeysymTable() each time the value is needed, because the table  may  change  at
  any time.

See Also
  XtConvertCase(1), XtKeysymToKeycodeList(1), XtRegisterCaseConverter(1), XtSetKeyTranslator(1), XtTranslateKeycode(1).

Xt - Keyboard Handling														XtGetKeysymTable()
All times are GMT -4. The time now is 06:23 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy