SQL from both OE and sqlexp

JustMe

Member
Newbie, on progress day 4 continued ...
(Is this SQL or DB problem?, should it be moved to DB forum?)


The version is 10.2b 05
I am running eclipse on windows XP servicepack 3 (Admin programs also)
The database is running on SLES11 linux

After setting up a second broker for SQL only I can connect from both OE and sqlexp.

But when I send a query from either I get the error:
[DataDirect] [OpenEdge JDBC Driver] [OpenEdge] Table/View/Synonyum not found (7519)
the OE will let be "browse" the tables.

Any and all help appreciated ...

JustMe (Rich)
 

JustMe

Member
it is very complex ...

SELECT tablename.field FROM tablename;

specifically (SELECT item.BAR-CODE FROM item ;)
 

Rob Fitzpatrick

ProgressTalk.com Sponsor
Try qualifying the table references with the schema, e.g. PUB.tablename.field.

Also, enclose the table or field names in double quotes if they contain a hyphen. E.g. ... PUB.item."bar-code". Or ...PUB."table-name"...
 

abevoelker

New Member
Try qualifying the table references with the schema, e.g. PUB.tablename.field.

Also, enclose the table or field names in double quotes if they contain a hyphen. E.g. ... PUB.item."bar-code". Or ...PUB."table-name"...

Since you're using the JDBC driver, you can set the "defaultSchema" property to "PUB" before you connect, and you won't have to preface your table names with it.
 
Top