psOListTables

Description

     This program writes text file containing a list of table
names contained in your specified schema.   You can use the
output of this program as input to programs like psGTruncateTables
and psGUpdateStatistics.

 

Syntax

psOListTables -Sdsn -Vserver -Uusername -Ppassword
-Dcatalog -Wowner -Ntable -Eexc
-Foutput_file -Ooptions

 

Arguments

-S

ODBC Data Source

-V

ODBC Server Name

-U

ODBC User Name

-P

ODBC User's Password

-A

ODBC Other Attributes

-D

ODBC Catalog (Database)

-W

Table belongs to this 'schema'

-N

Table having pattern 'name'

-E

Exclude tables having pattern 'exc'

-F

Output file [standard output]

-O

Options

 

Options

m

Use Data Direct ODBC drivers

s

Write schema name

1

Sort table names (case sensitive)

2

Sort table names (case insensitive)

 

Environment Variables Behind the Scenes

ODBC_DSN

When -S is not specified.

ODBC_SERVER

When -V is not specified.

ODBC_USER

When -U is not specified.

ODBC_PASS

When -P is not specified.

ODBC_ATTR

When -A is not specified.

PS_SYSMSG_FILE

Name of the tool's messages file.

PS_SYSPARAM_FILE

Name of the system parameter file

 

Go to DBPowerSuite 7.9 List of Programs.


Updated: Thu Jun 18 21:12:26 2009