psListTablesForWeb

Description

     This program generates web pages for all the user tables in a database.
This programs generates one web page per table plus a single web page
called TABLESLIST.html which contains links to all the table web pages.
     If you do not specify a -O option, then you get all the information
for the tables.   No -O is equivalent to -O with everything.
     There is a 'Comments' column for the tables' columns plus an area
under each Table Name for comments for the table in general.  This
program looks for these comments in syscomments.  You can easily insert
comments into the syscomments table by using the stored procedures
in DBPowerSuite/dbaccess/sybase_scripts/add_comment_procs.sql.

 

Syntax

psListTablesForWeb -Sserver -Uusername -Ppassword -Ddatabase
-Wowner -Nname -ttime_out
-Ttitle -Iimage_of_ERD -Abackground_color -aforeground_color
-Llink_color -lviewed_link_color -Kactive_link_color
-Cbackground_color_for_odd_rows -cbackground_color_for_even_rows
-Foutput_error_log -Ooptions

 

Arguments

-S

Sybase Server Name

-U

Sybase User Name

-P

Sybase User Password

-D

Sybase Database

-W

List tables belonging to owner only

-N

List tables having pattern 'name' [%]

-t

Time out for the database in seconds [3600]

-T

Title for your table's list []

-I

Image of Entity Relationship Diagram []

-A

Background color for the page [FFFFFF]

-a

Foreground color for the page [000084]

-L

Link color [0000FF]

-l

Viewed link color [C000C0]

-K

Active link color [FF0000]

-C

Color background for odd numbered rows [FFFFFF]

-c

Color background for even-numbered_rows [F0F0F0]

-F

Name of output error log [standard output]

-O

Options

 

Options

s

Get system tables too

n

List the caches bound to tables and indexes

d

List the defaults bound to columns

R

List the rules bound to columns or tables

m

List the image/text page chain for each table

i

List the indexes in each table

f

List the referential integrity constraints

k

List the sp_primary, sp_common & sp_foriegn keys

t

List the triggers on each table

p

List the permissions on each table

r

Count the number of rows for each table

x

Give exact row counts for each table

u

Report user-defined datatypes [native datatypes]

q

Write fully qualified table names

 

Environment Variables Behind the Scenes

DSQUERY

When -S is not specified

SYB_USER

When -U is not specified

SYB_PASS

When -P is not specified

SYB_DATABASE

When -D is not specified

PS_SYSMSG_FILE

Name of the tool's messages file

 

Go to DBPowerSuite 7.9 List of Programs.


Updated: Thu Jun 18 21:12:26 2009