|
Description |
This program writes a SQL script, which when run using psOSQL, |
|
Syntax |
psOCopyTableData -Sdsn -Vserver -Uusername -Ppassword |
|
-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' |
|
-I |
Input file containing list of tables names to copy |
|
-x |
Maximum image/text size [10000000] |
|
-Z |
Column delimiter string [|] |
|
-Y |
Row terminator string [operating system default record terminator] |
|
-X |
Output psOSQL scripts prefix [tables] |
|
-Q |
Maximum file size for each table before splitting [0] |
|
-R |
Arguments to pass to psOLoader (enclose in quotes) [] |
|
-M |
Maximum log size. [0] |
|
-F |
Output log file [standard output] |
|
-O |
Options |
|
m |
Use Data Direct ODBC drivers |
|
w |
Remove all leading and trailing white spaces |
|
n |
Make sure not-null columns will be not null. Turn nulls to zeros or spaces. |
|
N |
For null columns as well, turn the values into zeros or spaces. |
|
s |
Include schema name with table names |
|
1 |
Sort column names (case sensitive) |
|
2 |
Sort column names (case insensitive) |
|
u |
Convert object names to upper case in SQL |
|
l |
Convert object names to lower case in SQL |
|
o |
Target database is Oracle |
|
y |
Target database is MySQL |
|
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 |
|
Notes |
If you specify a non-zero value for the -M argument, this program |
Go to DBPowerSuite 7.9 List of Programs.
Updated: Thu Jun 18 21:12:26 2009