psDropViewKeys

Description

     This program writes a script which drops the keys
on view that were created with sp_primarykey,
sp_commonkey and sp_foreignkey.

 

Syntax

psDropViewKeys -Sserver -Uusername -Ppassword -Ddatabase
-Wowner -Nname
-FKorn_script -Rresults_file -Mmax_size_results_file

 

Arguments

-S

Sybase Server Name

-U

Sybase User Name

-P

Sybase User's Password

-D

Sybase Database

-W

Drop keys from views belonging to 'owner' only

-N

Drop keys from views whose name have pattern 'name' [!rs%]

-F

Name of output UNIX Korn shell script [standard output]

-R

psSQL results file [standard output]

-M

Maximum size in bytes of psSQL results file [0]

 

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