I used to get 'Catalog tables could not be created' error before, because
my user id did not have enough priviliges, so I connected with SYSTEM id
and that message was gone...
but why are these tables still empty?
thanks,
Yavuz.
PS: pbcatfmt and pbcatedt are not empty.
I am using PB 7.0.3
<Yavuz_Ulusar> wrote in message
news:4D5EF2DC53FEBB0B0073661485256AE1.0073662385256AE1@webforums...
Oh, and one other thing... please don't crosspost.
"Daniel Coppersmith" <dan...@N.0.S.P.A.M_infrontsoftware.com> wrote in
message
news:6F75A12D5CB83B780074D970...@webforums.sybase.com.
..
I am connecting to both databases with ODBC.
Is this because Sybase and PB belong to the same company. (that's what
Oracle support told me):
Explained to customer that ODBC drivers don't have the ability to
manipulate a query in terms of prefixing a table or view name with a schema
name. The driver takes what it is given by the front-end application, in
this case Powerbuilder. Thus, Powerbuilder is actually prefxing the view
name with the schema name, much in the same way the Microsoft Access does.
I speculated that this may not be happening against the Sybase database
because Powerbuilder is a Sybase product and may be treating Sybase as
somehow "native" or somehow different from third-party databases.
In any case, I recommended ct take up with Sybase why this discrepancy
exists and what needs to be done in the Powerbuilder front-end to resolve
the issue.
The catalog tables are all optional. You don't need them to do anything in
PowerBuilder. They exist to make your life easier when creating
datawindows. You can set the label names, formats, justification, etc.
once, then everytime you create a datawindow with that column, it will bring
those values in so you don't need to set those on each column in the
datawindow painter each time. This is particularly helpful when your column
name is something like cntc_frst_nme and you want it to show up as "Contact
First Name" on your datawindow.
If you don't want those defaults to carry over, you don't need to set them.
The PBCATTBL is used to hold the name of the table (for use in the database
painter) and font styles and things.
Again, this information is not populated until you enter it yourself and is
optional.
You might be getting the PB catalog tables confused with your system catalog
tables that actually hold the database metadata.
D
<Yavuz_Ulusar> wrote in message
news:ECF788376E53A04D007849D085256AE1.007737C985256AE1@webforums...
No. I will keep my opinion of Oracle and their support staff to myself
because my Mom taught me if I had nothing nice to say I should shut the hell
up.
Your DBA may not have granted you authority to that table/column. This is
common if he creates it under one schema owner and you connect using a
different owner. Your DBA can create an alias on the extended table/column
name so you can see it without the schema prefix.
Try running a query in the database administrator with the schema prefix on
it and see if it works.
If you plan on switching back and forth between Oracle and Sybase, you'll
want to be able to execute a query against both without your prefix (or have
the prefix in both).
Talk to your DBA, he'll be able to resolve the problem.
D
<Yavuz_Ulusar> wrote in message
news:6FF182787F095ACB0078B68C85256AE1.0078053D85256AE1@webforums...
Thank you!
Adina
Are you sure the public synonym is on the column too?
Have you tried to run the query without the owner prefix in SQL*Plus?
<Adina_Leustean> wrote in message
news:D3996E722F09DAF6004D469F85256AE2.007FBB9185256AE1@webforums...
QE Oracle7 driver
[ORACLE QEOR706]
PBCatalogOwner='SYSTEM'
PBSystemOwner='SYS'
PBDateTime='NO_MSECS_DATETIME'
IdentifierCase=3
PBParseProcs='NO'
PBSyntax='OR7_Syntax'
PBPrimaryKeyName='YES'
[Sybase SQL Anywhere]
PBSyntax='WATCOM50_SYNTAX'
PBDateTime='STANDARD_DATETIME'
PBFunctions='WATCOM_FUNCTIONS'
PBDefaultValues='autoincrement,current date,cuurrent publisher,current
time,current timestamp,current user,last
user,sqlcode,sqlstate,timestamp,null,user'
PBDefaultCreate='YES'
PBDefaultAlter='YES'
PBDefaultExpressions='YES'
DelimitIdentifier='YES'
PBDateTimeInvalidInSearch='NO'
PBTimeInvalidInSearch='YES'
PBQualifierIsOwner='NO'
PBSpecialDataTypes='WATCOM_SPECIALDATATYPES'
IdentifierQuoteChar='"'
PBSystemOwner='sys,dbo'
PBUseProcOwner='YES'
SQLSrvrTSName='YES'
SQLSrvrTSQuote='YES'
SQLSrvrTSDelimit='YES'
ForeignKeyDeleteRule='Disallow if Dependent Rows Exist (RESTRICT),Delete
any Dependent Rows (CASCADE),Set Dependent Columns to NULL (SET NULL)'
TableListType='GLOBAL TEMPORARY'
I tried it with SQLPLUS, with and without prefix, both work. There is no
problem running with Oracle a datawindow designed with Sybase db
connection.
<yAVUZ_uLUSAR> wrote in message
news:687A4F197A1DF58E0051891C85256AE2.005150C785256AE2@webforums...