psGChangeTablespaces

Description

     From a list of tables or indices in an RI map, psGChangeTablespaces creates a
a SQL script to change the tablespace of each table or index. the tables.  You can generate
a list of tables or indexes using psOListTables, psOListIndices, psGenerateRIMap, or by a
clever SQL command via psOSQL or psSQL.

 

Syntax

psGChangeTablespaces -Tri_map_file -Xtablespace
-Nschema_name -Fnew_sql_file -Ooptions

 

Arguments

-T

RI Map File

-N

Schema Name (optional)

-X

Target Tablespace

-F

Output SQL Script [standard output]

-O

Options

 

Options

s

Sybase

o

Oracle

m

Microsoft SQL Server

i

Informix

r

Postgres

y

MySQL

g

ODBC

u

Convert all names to upper case

l

Convert all names to lower case

x

The list of objects are indices, not tables

p

Stop at the first parsing problem

t

Turn tracing on

 

Environment Variables Behind the Scenes

PS_SYSMSG_FILE

Name of DBPowerSuite's messages file.

 

Go to DBPowerSuite 7.9 List of Programs.


Updated: Thu Jun 18 21:12:26 2009