freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: <VZverev AT genesis.spb.ru>
- To: <freetds AT lists.ibiblio.org>
- Subject: RE: [freetds] Oracle heterogeneous services
- Date: Thu, 22 Apr 2004 20:25:51 +0400
Hello Gregg.
Try to use quoted identifiers ("table_name" instead table_name) and set valid
DB with DBMS_HS_PASSTHROUGH.EXECUTE_IMMEDIATE before query:
DECLARE
c INTEGER;
v varchar2(30);
begin
c:= DBMS_HS_PASSTHROUGH.EXECUTE_IMMEDIATE@hsodbc('use tempdb');
select foo into v from "table_name"@hsodbc ;
end;
Unfortunately, generic heterogeneous connectivity service does not support
distributed transactions :(.
Sincerely yours.
------------------------------------------------------------
Vitaly Zverev, Oracle Applications DBA,
Genesis Ltd., S.Petersburg, Russia
-----Original Message-----
From: freetds-bounces AT lists.ibiblio.org
[mailto:freetds-bounces AT lists.ibiblio.org] On Behalf Of Gregg Anderson
Sent: Thursday, April 22, 2004 7:47 PM
To: freetds AT lists.ibiblio.org
Subject: [freetds] Oracle heterogeneous services
We are trying to connect our Solaris 8 Oracle 9i database to FreeTDS through
unixODBC, and are able to connect to SQLServer2000. However, all our queries
through SQLPlus error out with "table or view does not exist. Both tsql and
isql queries run fine, so we are baffled.
Here is our configuration string... Any help would be greatly appreciated.
locale is "C"
locale charset is "646"
Compile-time settings (established with the "configure" script):
Version: freetds v0.62.3
MS db-lib source compatibility: no
Sybase binary compatibility: unknown
Thread safety: no
iconv library: yes
TDS version: 7.0
iODBC: no
unixodbc: yes
Thanks,
Gregg Anderson
Senior Software Developer
Global Healthcare Exchange
10385 Westmoor Drive, Suite 100
Westminster, CO 80021
720.887.7294
720.887.7200 fax
ganderson AT ghx.com
_______________________________________________
FreeTDS mailing list
FreeTDS AT lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/freetds
-
[freetds] Oracle heterogeneous services,
Gregg Anderson, 04/22/2004
- <Possible follow-up(s)>
- RE: [freetds] Oracle heterogeneous services, VZverev, 04/23/2004
- RE: [freetds] Oracle heterogeneous services, VZverev, 04/23/2004
- RE: [freetds] Oracle heterogeneous services, Gregg Anderson, 04/23/2004
- RE: [freetds] Oracle heterogeneous services, Зверев Виталий Борисович, 04/23/2004
- RE: [freetds] Oracle heterogeneous services, Gregg Anderson, 04/23/2004
- RE: [freetds] Oracle heterogeneous services, Зверев Виталий Борисович, 04/23/2004
- RE: [freetds] Oracle heterogeneous services, Gregg Anderson, 04/23/2004
- RE: [freetds] Oracle heterogeneous services, Зверев Виталий Борисович, 04/25/2004
- RE: [freetds] Oracle heterogeneous services, Gregg Anderson, 04/26/2004
Archive powered by MHonArc 2.6.24.