psCopyUserTypes

Description

     This program copies user-defined types from one schema to another.  This
program can only copy user-defined datatypes of a single owner at a time.   If
any of your datatypes have defaults or rules bound to them, these rules
and defaults must already exist in the target database.

 

Syntax

psCopyUserTypes -Sserver -Uusername -Ppassword -Ddatabase
-Wowner -Nname
-starget_server -utarget_username -ptarget_pass -dtarget_db
-FKorn_script -Rresults_file -Mresults_file_max_size

 

Arguments

-S

Sybase Server Name

-U

Sybase User Name

-P

Sybase User's Password

-D

Sybase Database

-W

Copy user-defined datatypes belonging to owner only [-U]

-N

Copy user-defined datatypes whose name has pattern 'name' [!rs%]

-s

Target Sybase Server

-u

Target Sybase User Name

-p

Target Sybase User's Password

-d

Target Sybase Database

-w

Target Default Owner [-u]

-F

Name of output Korn shell script. [standard output]

-R

Results file for psSQL [standard output]

-M

Maximum size of 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