PBCatalogOwner in Oracle
\The Sandbox \PB History & Future \New In PB6 \Database Connectivity \PBCatalogOwner in Oracle
UI for
DB Profiles
INFORMIX 7.x
DB Interface
Oracle 7.3
DB Interface
Oracle 8.0
DB Interface
INTERSOLV DB2
ODBC Driver
Sybase Open
Client 11.1
Sybase 10 & 11
Dist App Interface
Release DBParm
Sybase OC
11.1 Security
Sybase OC
11.1 Directory
Accessing MS
SQL Server 6.5
ODBC 3.0
Sybase
DirectConnect
CommitOn-
Disconnect
DateTimeAllowed
DBParm
DBGatewayUDT
DBParm
FormatArgsAsExp
DBParm
HostReqOwner
DBParm
LowerCaseIdent
DBParm
ModifySyntax
DBParm
PWDialog
DBParm
TableCriteria
DBParm
ThreadSafe
DBParm
TrimSpaces
DBParm
TRS DBParm
AutoCommit in
Net-Gateway
PBCatalogOwner
in Oracle
Increased
DBParm Strings
PRINT Stmts
in Stored Procs
Nondefault DB
Trace Log File
Automatically
Connect to DB

Description

All Oracle database interfaces in PowerBuilder and InfoMaker now support the PBCatalogOwner DBParm parameter. This support is new in Version 6.0.

The default value for PBCatalogOwner when you are using any of the Oracle database interfaces is 'SYSTEM'.

Purpose

PBCatalogOwner allows you to specify a nondefault owner for the tables in the Powersoft repository, also known as the Powersoft extended catalog or the Powersoft system tables. When you specify a value for PBCatalogOwner that is different from 'SYSTEM' (the default repository owner for the Oracle interfaces), PowerBuilder or InfoMaker creates a new set of repository tables with the owner name you specify.

  • For more information, see the description of PBCatalogOwner in Connecting to Your Database.

Usage

As with any other DBParm parameter, you can set PBCatalogOwner in the Database Profile Setup dialog box for your connection or in a PowerBuilder application script.

Examples

To create a new set of Powersoft repository tables with the owner name 'TEST', set PBCatalogOwner in either of the following ways:

  • To set PBCatalogOwner in the Database Profile Setup dialog box:
  • Type the following in the PowerBuilder Catalog Table Owner box on the System tab in the Database Profile Setup dialog box. Specify the owner name without single quotes:

    TEST

  • To set PBCatalogOwner in a PowerBuilder application script:
  • Type the following in a PowerBuilder script:

    SQLCA.DBParm = "PBCatalogOwner = 'TEST'"

    If you specify a value for PowerBuilder Catalog Table Owner in your database profile, this syntax displays on the Preview tab in the Database Profile Setup dialog box. You can then copy the syntax from the Preview tab into your script and modify the default transaction object name (SQLCA) if necessary.

PBL Peeper PB Help PB History
& Future About Us Feedback Site Map

Google
 
Web www.techno-kitten.com
www.sybase.com