Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: Recovery of objects through ODBC driver for Oracle and for SQL Server
From: Sebastien Baudry
Date: Fri, 14 Aug 1998 18:28:18 +0100

Hello,
In a scrolling list, I recover the list of the objects (symbol) to be displayed using a SQL request :
fgjdbc:///?driver=sun.jdbc.odbc.JdbcOdbcDriver&url=jdbc:odbc:flash_driver_oracle&userid=myuser&password=mypassword&query=SELECT%20CLIP%20FROM%20CLIP;
The names of the objects are in the table "CLIP" which has a column called "CLIP". The request recovers the names of the objects since I see them in the "output window" :
When I use an SQL Server ODBC driver, I obtain:
Scrolling List: Missing symbol: {BouleGrise}
Scrolling List: Missing symbol: {BouleRouge}
Scrolling List: Missing symbol: {BouleVerte}
Those three objects exist.

When I use a "Microsoft ODBC driver for Oracle" or "Oracle ODBC Driver", I obtain:
*** SQL: Exception ***
SQLState: 37000
Message: [Microsoft] [ODBC driver for Oracle][Oracle]ORA-00911: invalid character
Vendor: 911
Error processing SQL Query in URL: fgjdbc:///?driver=sun.jdbc.odbc.JdbcOdbcDriver&url=jdbc:odbc:flash_driver_oracle&userid=flash&password=flash&query=SELECT%20CLIP.clip%20FROM%20clip;
Scrolling List: Data source format error: fgjdbc:///?driver=sun.jdbc.odbc.JdbcOdbcDriver&url=jdbc:odbc:flash_driver_oracle&userid=flash&password=flash&query=SELECT%20CLIP.clip%20FROM%20clip;

So, the problem is that the objects are not displayed in my scrolling. I manage to see my list of objects by using an ODBC driver text or by using a text file, but I do not see them with Oracle and SQL Server ODBC driver .
With Oracle or SQL Server ODBC driver, I succeded to display text through variable ({myvar}) in using the "Set Environment Command".

Can you help me to display my objects ?

SEB


[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]