Connecting mssql 2005 from oracle 10gR2 64-bit
Hi
I am not finding TG4MSQL in Oracle 10gR2 64-bit on windows, can anybody tel me any workaround for the same,
What if i install 10gR2 32-bit TG4MSQL (only this api) on my 10gR2 64-bit ..!?
suggest plz
- Mustafa
Transparent Gateway for SQL Server. Available on Microsoft Windows (32-Bit). Use Oracle Transparent Gateway Installation Guide for Microsoft Windows (32-Bit), and then Oracle Transparent Gateway for Microsoft SQL Server Administrator's Guide for Microsoft Windows.
http://download-west.oracle.com/docs/cd/B19306_01/gateways.102/b14270/toc.htm
http://download-west.oracle.com/docs/cd/B19306_01/gateways.102/b19083/toc.htm
~ Madrid.
Similar Messages
-
Connect to PostgreSQL from Oracle 11gR2
Hi folks!
Trying to connect to PostgreSQL from Oracle 11.2.0.3(RAC). My configuration files are:
initRT.ora:
# HS init parameters
HS_FDS_CONNECT_INFO = RT
HS_FDS_TRACE_LEVEL = ON
HS_FDS_TRACE_FILE_NAME = /tmp/odbc_trace.log
HS_FDS_TRACE_LEVEL = 4
HS_FDS_SHAREABLE_NAME = /usr/lib64/libodbc.so
# ODBC specific environment variables
set ODBCINI=/etc/unixODBC/odbc.inilistener.ora:
LISTENER_SCAN2=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN2)))) # line added by Agent
LISTENER=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER)))) # line added by Agent
LISTENER_SCAN1=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN1)))) # line added by Agent
ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER_SCAN1=ON # line added by Agent
ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER=ON # line added by Agent
ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER_SCAN2=ON # line added by Agent
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME =/u01/app/oracle/product/11.2/db)
(PROGRAM = extproc)
(SID_DESC=
(SID_NAME = RT)
(ORACLE_HOME = /u01/app/oracle/product/11.2/db)
(PROGRAM = dg4odbc)
(ENVS = "LD_LIBRARY_PATH=/usr/lib64:/u01/app/oracle/product/11.2/db/lib:/u01/app/oracle/product/11.2/db/hs/lib")
)tnsnames.ora:
RT = (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=hostname)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SID=RT))(HS = OK))
isql rt rt3 passw
+---------------------------------------+
| Connected! |
| |
| sql-statement |
| help [tablename] |
| quit |
| |
+---------------------------------------+
SQL> quit
oracle@hostname: psql -h rt rt3 passw
Welcome to psql 8.3.9, the PostgreSQL interactive terminal.
Type: \copyright for distribution terms
\h for help with SQL commands
\? for help with psql commands
\g or terminate with semicolon to execute query
\q to quit
rt3=>As you can see, I can connect to PostgreSQL. Then in DB I've created DB link as follows:
CREATE DATABASE LINK "RT"
CONNECT TO "RT3" IDENTIFIED BY "passw"
USING 'RT';
oracle@hostname: sqlplus rt3/passw
SQL*Plus: Release 11.2.0.3.0 Production on Tue Nov 15 03:46:12 2011
Copyright (c) 1982, 2011, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, Real Application Clusters, Automatic Storage Management, Oracle Label Security,
Data Mining and Real Application Testing options
rt3@sid1> select * from users@rt;
select * from users@rt
ERROR at line 1:
ORA-28545: error diagnosed by Net8 when connecting to an agent
Unable to retrieve text of NETWORK/NCR message 65535
ORA-02063: preceding 2 lines from RT
Elapsed: 00:00:00.01
rt3@sid1>Don'tunderstand why I can't connect from Oracle? Thanks in advance.
Regards,
Pavel.Hi, sure:
odbc.ini:
[ODBC Data Sources]
RT=RT Database
[RT]
Description = RT Database
Driver = /usr/lib64/psqlodbcw.so
Database = rt3
TraceFile = /u01/app/oracle/diag/rdbms/trace/odbc_rt.trc
Trace = Yes
Servername = rt.domain.com
Port = 5432
Protocol = 6.4
ReadOnly = Yes
RowVersioning = No
ShowSystemTables = No
ShowOidColumn = No
FakeOidIndex = No
ConnSettings =
Debug = 0
CommLog = 0
oracle@host:> lsnrctl status
LSNRCTL for Linux: Version 11.2.0.3.0 - Production on 15-NOV-2011 04:09:23
Copyright (c) 1991, 2011, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.3.0 - Production
Start Date 15-NOV-2011 03:30:50
Uptime 0 days 0 hr. 38 min. 32 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u01/app/11.2/grid/network/admin/listener.ora
Listener Log File /u01/app/grid/diag/tnslsnr/host/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=IP)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=IP)(PORT=1521)))
Services Summary...
Service "+ASM" has 1 instance(s).
Instance "+ASM1", status READY, has 1 handler(s) for this service...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "RT" has 1 instance(s).
Instance "RT", status UNKNOWN, has 1 handler(s) for this service...
Other servicesListener.log for PROGRAM=dg4odbc is empty. There are a lot of entries for other services.
Regards,
Pavel.
Edited by: Pavel E. on 15.11.2011 13:13 -
Write data from Oracle 9i 64 bit to Oracle 32 bit through database link
Hi to All:
We are using following Oracle 64 bit application.
Operating System: Sun Solaris 5.9
Database: Oracle 9i (64 bit)
Machine: Sun Server Spark V890
Now my questin is that I want to move data from the production database running in Oracle 9i 64bit on Sun server to Oracle 9i 32 bit on Windows Server 2002 thru database link.
I heard that it is not possible to write data from oracle 64 bit to oracle 32 bit, no matter what operating system we are using.
Please confirm me that whether we can write data through database link from Oracle 9i 64 bit to Oracle 32 bit.
Please specify every possible solution or any site from where I can have the solution.
Thanks in advance.
Hassan Raza Khan LodhiCreate a test table ( in 64bits db) , add some data
From 32bits create a dblink
Execute the following query
create table test_32
as select * from test64@dblinkto64;
Michael -
SQL Server 2005 (64 bit) returns truncated text from Oracle 10g (64 bit)
Hi all,
I'm no expert in Oracle so I desperately need your advice.
I'm using SQL Server 2005 (64 bit) and trying to pull data from a Oracle 10g (64 bit) server. I am able to connect to the Oracle server with no problems.
The problem came when I was trying to pull a text column (I think it's BLOB in Oracle) from the Oracle server. The results came back BUT truncated to only 100 characters. (This is a column containing event logs so the text is really really long...)
As you may already know, Microsoft is not providing the driver for this case (which is insanely ridiculous!!!). There is no standard “Microsoft OLE DB Provider for Oracle” which we would normally use to establish a linked server connection to Oracle. Instead, we had to install the provider given by Oracle (Oracle Provider for OLE DB).
I have tried to Google for solutions but didn't find much. Please help! :(
Thanks in advance,
EleniIf this is a one time activity, you need to find a migration utility which will do the job for you. SQL Developer is available had your case been the other way round (migrate from SQL Server to Oracle).
Check out tools from SwisSQL
http://www.swissql.com/products/oracle-to-sqlserver/oracle-to-sql-server.html
Microsoft's own SSMA (I think this is what you are using already)
http://www.microsoft.com/sqlserver/2005/en/us/migration-oracle.aspx
Apart from this, if there are any issues with the tools themselves, you need to get in touch with the respective vendors. -
ODBC connect to SQL Server 2005 from Oracle 10.2.0.3 32bit Linux
I’m unable to establish a connection from Oracle 10.2.0.3 32bit Linux to SQL Server 2005.
The ODBC driver is the 32bit DataDirect 5.3 drivers and when I do a status on the listener it does have a handler for SQLDB
Any help is appreciated.
Received the following error:
SQL> select count(*) from columns@SQLDB;
select count(*) from columns@SQLDB
ERROR at line 1:
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
[Generic Connectivity Using ODBC]DRV_InitTdp: DB_ODBC_INTERFACE (718): ; [C077]
Could not find symbol 'SQLAllocConnect' in dynamic library
DB_ODBC_INTERFACE (722): ; [C079] Failed to load dynamic library
'/app/DataDirect/lib/libodbc.so'
ORA-02063: preceding 3 lines from SQLDB
-----Contents of trace file------------------
Oracle Corporation --- THURSDAY JUL 10 2008 10:17:16.251
Version 10.2.0.3.0
hoagprd (2): ; hoagprd Entered.
HOACONN.C (244): ; [Generic Connectivity Using ODBC] version: 4.8.2.0.0080
HOACONN.C (288): ; Class version: 250
hoagprd (2): ; hoagprd Exited with retcode = 0.
hoainit (3): ; hoainit Entered.
(0): ; connect string is: defTdpName=SQLDB;SYNTAX=(ORACLE8_HOA, BASED_ON=
ORACLE8, IDENTIFIER_QUOTE_CHAR="", CASE_SENSITIVE=CASE_SENSITIVE_QUOTE);
BINDING=<navobj><binding><datasources><datasource name='SQLDB' type='GENERIC_
ODBC_FOR_HS' connect='SQLDB'><driverProperties/></datasource></datasources><
remoteMachines/><environment><optimizer noFlattener='true'/><misc
year2000Policy='-1' consumerApi='1' sessionBehavior='4'/><queryProcessor
parserDepth='2000' tokenSize='1000' noInsertParameterization='true'
noThreadedReadAhead='true' noCommandReuse='true'/><debug driverTrace='true'
generalTrace='true'/></environment></binding></navobj>
ORACLE GENERIC GATEWAY Log File Started at 2008-07-10T10:17:16
hoainit (3): ; hoainit Exited with retcode = 0.
hoalgon (7): ; hoalgon Entered. name = dbuser.
sysbase.c (677): ; libodbcinst.so: cannot open shared object file: No such
file or directory
DB_ODBC_INTERFACE (718): ; [C077] Could not find symbol 'SQLAllocConnect' in
dynamic library
DB_ODBC_INTERFACE (722): ; [C079] Failed to load dynamic library '/app/
DataDirect/lib/libodbc.so'
DB_ODBC_INTERFACE (727): ; [C077] Could not find symbol 'SQLAllocConnect' in
dynamic library
DRV_InitTdp: DB_ODBC_INTERFACE (718): ; [C077] Could not find symbol '
SQLAllocConnect' in dynamic library
DB_ODBC_INTERFACE (722): ; [C079] Failed to load dynamic library '/app/
DataDirect/lib/libodbc.so'
nvRETURN (./drv_bind.c 230): -2220
nvRETURN (./nav_bind.c 298): -2220
hoalgon (7): ; hoalgon Exited with retcode = 28500.
hoaexit (6): ; hoaexit Entered.
hoaexit (6): ; hoaexit Exited with retcode = 0.
(0): ; Closing log file at THU JUL 10 10:17:16 2008.
--------------end of trace file ---------------
--------TNS entry ----------
SQLDB=
(DESCRIPTION =
(ADDRESS =(PROTOCOL = TCP)
(Host = oracledbhost)
(Port = 1521)
(CONNECT_DATA = (SID =SQLDB)
(HS=OK)
-------Listener.ora entry----------
(SID_DESC=
(SID_NAME=SQLDB)
(ORACLE_HOME=/app/oracle10g/product/10.2)
(PROGRAM=hsodbc)
-------initSQLDB.ora----------
# This is a sample agent init file that contains the HS parameters that are
# needed for an ODBC Agent.
# HS init parameters
HS_FDS_CONNECT_INFO = SQLDB
HS_FDS_TRACE_LEVEL = 4
HS_FDS_TRACE_FILE_NAME=/app/DataDirect/SQLDB.trc
HS_FDS_SHAREABLE_NAME=/app/DataDirect/lib/libodbc.so
# ODBC specific environment variables
set ODBCINI=/app/DataDirect/odbc.ini
------odbc.ini entry------------
[SQLDB]
Driver=/app/DataDirect/lib/ivmsss23.so
Description=DataDirect 5.2 SQL Server Wire Protocol
Address=SQLServerhost,1401
AlternateServers=
AnsiNPW=Yes
ConnectionRetryCount=0
ConnectionRetryDelay=3
Database=SQLServerDB
LoadBalancing=0
LogonID=
Password=
QuotedId=No
SnapshotSerializable=0The error message is indicating problems loading the driver manager.
A common issue on Linux (especially on Suse Linux) is related to library caching. First of all make sure you add the LD_LIBRARY_PATH to your listener.ora file to guarantee the correct libraries will be loaded. Your SID section will then look like:
(SID_DESC=
(SID_NAME=SQLDB)
(ORACLE_HOME=/app/oracle10g/product/10.2)
(ENVS=LD_LIBRARY_PATH=/app/oracle10g/product/10.2/lib:/app/DataDirect/lib)
(PROGRAM=hsodbc)
After changing the listener.ora file stop and start the listener.
Details about the set up can be found in Metalink note:
Note.264567.1 P216. How To Setup Generic Connectivity - HSODBC - on Linux
If this does not help enable strace and check out from which location libodbc.so is being loaded.
Please be also aware HSODBC has been desupported 15th of March. As you start a new project you should proceed with the follow up product DG4ODBC. -
Transport Tablespace from Physical Standby in Oracle 10gr2 - 64 Bit
Hi,
How to Export Transport Tablespaces from Physical Standby Server - Oracle 10gr2 EE in Windows 2003 EE, Since Production Servers are in 24*7 Support to avoid make Read Only Tablespaces.
Regards
HarishOpen your Physical Standby in read only mode and do your export. Then mount it back in managed recovery mode.
-
Connect to DB2 from oracle 11g on windows 2008 server
Hi Folks,
I want to conenct to DB2 from oracle 11g using DB link.
DB2 :
user : db2user
pwd : db2pwd
database : db2database (OSBLDEV)
able to connect to db2 server (installed on machine M1) using db2 client with above details from machine M2 (where oracle is installed).
Oracle :
user : orauser
pwd : orapwd
host : orahost
port : 1521
service : oraservice
able to connect to oracle server using oracle sql developer with above details on Machine M2 (windows 2008 server)
when i execute the query with database link
select row_id from siebel.s_org_ext@OSBLDEV;
I get the message : ORA-12154: TNS:could not resolve the connect identifier specified.
could you pls check and let me know whether the below enteries are correct or not.
Pls share if you have step by step connectivity from DB2 to oracle using DB link.
1. I have created the Data source for DB2 - test successful
create database link OSBLDEV
connect to "db2user"
identified by "ldb2pwd"
using 'OSBLDEV';
1. I have made the following entry in E:\oracle\product\11.1.0\db_1\hs\admin\initosbldev.ora
HS_FDS_CONNECT_INFO = OSBLDEV
HS_FDS_TRACE_LEVEL = 0
2. I have made the following entry in E:\oracle\product\11.1.0\db_1\NETWORK\ADMIN\tnsnames.ora
OSBLDEV =
(DESCRIPTION=
(ADDRESS=(PROTOCOL=tcp)(HOST=orahost)(PORT=1521))
(CONNECT_DATA=(SID=OSBLDEV))
(HS=OK)
3. I have made the following entry in E:\oracle\product\11.1.0\db_1\NETWORK\ADMIN\listener.ora and releoaded the listner (lsnrctl reload)
LISTENER =
(ADDRESS_LIST=
(ADDRESS=(PROTOCOL=tcp)(HOST=orahost)(PORT=1521))
(ADDRESS=(PROTOCOL=ipc)(KEY=PNPKEY)))
SID_LIST_LISTENER=
(SID_LIST=
(SID_DESC = # this is the entry for HSODBC
(SID_NAME = OSBLDEV)
(ORACLE_HOME = e:\oracle\product\11.1.0\db_1)
(PROGRAM = hsodbc)
Thanks in advance.1. My listener.ora is placed at the below location:
E:\oracle\product\11.1.0\db_1\NETWORK\ADMIN
2. I have modifed the listener and removed the entry - hsodbc
3. stop and start the listener.
still can't see the service entry in listener status.
C:\>lsnrctl status
LSNRCTL for 64-bit Windows: Version 11.1.0.7.0 - Production on 19-JUL-2010 02:27
:08
Copyright (c) 1991, 2008, Oracle. All rights reserved.
Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 64-bit Windows: Version 11.1.0.7.0 - Produ
ction
Start Date 19-JUL-2010 02:21:17
Uptime 0 days 0 hr. 5 min. 52 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Log File e:\oracle\diag\tnslsnr\DALDEVDBCRM1\listener\alert\log
.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=daldevdbcrm1.corp.nai.org)(PORT=1521
Services Summary...
Service "+ASM" has 1 instance(s).
Instance "+asm1", status READY, has 1 handler(s) for this service...
Service "+ASM_XPT" has 1 instance(s).
Instance "+asm1", status READY, has 1 handler(s) for this service...
Service "ARIBADEV" has 1 instance(s).
Instance "ariba", status READY, has 1 handler(s) for this service...
Service "ARIBADEV_XPT" has 1 instance(s).
Instance "ariba", status READY, has 1 handler(s) for this service...
Service "ARIBAXDB" has 1 instance(s).
Instance "ariba", status READY, has 1 handler(s) for this service...
Service "aiad.corp.nai.org" has 2 instance(s).
Instance "aiad1", status READY, has 2 handler(s) for this service...
Instance "aiad2", status READY, has 1 handler(s) for this service...
Service "aiadXDB.corp.nai.org" has 2 instance(s).
Instance "aiad1", status READY, has 1 handler(s) for this service...
Instance "aiad2", status READY, has 1 handler(s) for this service...
Service "aiad_XPT.corp.nai.org" has 2 instance(s).
Instance "aiad1", status READY, has 2 handler(s) for this service...
Instance "aiad2", status READY, has 1 handler(s) for this service...
Service "aianew" has 1 instance(s).
Instance "aianew", status READY, has 1 handler(s) for this service...
Service "aianewXDB" has 1 instance(s).
Instance "aianew", status READY, has 1 handler(s) for this service...
Service "aianew_XPT" has 1 instance(s).
Instance "aianew", status READY, has 1 handler(s) for this service...
The command completed successfully
C:\> -
Migration from Oracle 9i 32 bit to Oracle 10G 64 bit on Windows 2003 Server
I am working on migrating Oracle 9i 32 bit to Oracle 10G 64 bit on Windows 2003 from Old server to new server. We have db around 500 GB and 3 schemas. I installed Oracle 10G on new server, created tablespaces, schema's blah blah and now doing export and import at schema level from old server to new server.
Import is taking more than 4 to 5 hours on new server. My manager is saying, window time is bit longer and he wants me to try possiblities to make this process faster. Can some one help me on this, to use the best possible method to complete this process faster?
Will below step work, if I try?
If I install, oracle 9i and 10g both on new server in different home directories and take the hot backup from old machine and restore on new machine in 9i home directory and use the upgrade configuration assistant from 10g and do the upgrade? Pls advice.
Thanks in advance,
Hari babu
Edited by: user6367891 on Mar 2, 2010 5:28 AMIt looks good.
I have one question in below steps:
To migrate an Oracle9i or older database to an Oracle Database 10g Release 1 (10.1) database for 64-bit Windows:
1 Perform steps 1 - 11 in "Migrating an Oracle Database 10g Release 1 (10.1) Database".
2 Shut down the database on the 64-bit computer:
SQL> SHUTDOWN IMMEDIATE;
3 Start the database migration:
SQL> STARTUP MIGRATE;
4 Migrate the database as described in Chapter 3, "Upgrading a Database to the New Oracle Database 10g Release" in Oracle Database Upgrade Guide.
In step 4, it says, migrate database as described in chapter 3. In chapter 3, it says, to do the upgrade the process using dbca or manually. Pls confirm whether do the upgrade process after issuing startup migrate or not.
Thanks in advance. -
Connect SQL Server From Oracle
Hi Experts,
I want's to made connection from Oracle 10g to Ms SQL Server 2000. I made necessary entries in receptive file, but still getting an error...
Setting info .....
*/hs/initMYSQLSERVERDSN.ora*
HS_FDS_CONNECT_INFO = MYSQLSERVERDSN
HS_FDS_TRACE_LEVEL = OFF
LISTENER.ORA
LISTENERMYSQLSERVERDSN =
(ADDRESS_LIST=
(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1522))
(ADDRESS=(PROTOCOL=ipc)(KEY=PNPKEY)(queuesize=80)))
SID_LIST_LISTENERMYSQLSERVERDSN=
(SID_LIST=
(SID_DESC=
(SID_NAME=MYSQLSERVERDSN)
(ORACLE_HOME = E:\oracle\product\10.1.0\db_1)
(PROGRAM=hsodbc)
TNSNAME.ORA
MYSQLSERVERDSN =
(DESCRIPTION=
(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1522))
(CONNECT_DATA=(SID=MYSQLSERVERDSN))
(HS=OK)
LISTENER start successfully, and tnsping working fine.
But after createing db link , when i execute query desc spt_datatype_info@mysqlserverdsn;
I am geting an error message in listenermysqlserverdsn.log file
TNS-12518: TNS:listener could not hand off client connection
TNS-12560: TNS:protocol adapter error
Please help me out from this issue.
Thanks in Advance
ManiYou OS ?
I have also done the same.
I did install SQL Server & Oracle on another machine with Windows.
For more pls visit.
http://www.dba-oracle.com/t_heterogeneous_database_connections_sql_server.htm
Aqeel Nawaz -
Database link from Oracle 11g (64 bit) to MySQL over UnixODBC with dg4odbc
Hello,
I want to connect to a MySQL Database from Oracle over a database link, but i get always the Error Message ORA-28528: Heterogeneous Services datatype conversion error .
In the forum or internet I can't find a solution for my problem, so I try now to post this problem.
Here a detailed description of the problem:
I use a Oracle 11.1.0.7.0 64bit database which is running on a redhat linux 5.3 64bit.
I want to connect to a MySql Database 5.0, which is running on a redhat linux 5.2 32bit over unixODBC.
The configuration from the ODBC seems to be good, because with isql on the ora server I can connect and query all data correct from the MySQL database.
Also the tsnnames.ora and listener.ora should be configured correctly. The tnsping works also fine.
But when i try to catch the data over SQLPlus with the database link I always get the error ORA-28528.
If I try to select just one column it works, but the returned data are incomplete or truncated.
the version of my libs:
between mysql and odbc I use libmyodbc3.so version 3.51.12-2.2 (I also tried the version 5, but with them I get a segmentation fault error on isql).
between odbc and dg4odbc I use libodbc.so version 2.2.11-7.1
Has anybody a solution or hint for me?
Many Thanks in advance,
best regards from Austria
Manuel
Edited by: user11243186 on 09.06.2009 02:59kdgmanu wrote:
Hello,
I always get the error ORA-28528.
If I try to select just one column it works, but the returned data are incomplete or truncated.
maybe you are facing bug 6772397, so do a search on metalink for bug 6772397
>
Has anybody a solution or hint for me?you could also see the following notes 554409.1 and 603801.1
Many Thanks in advance,
best regards from Austriacheers from Zagreb -
Connecting to sqlserver2000 from oracle
Hi,
Need to know which is the best way to connect to sqlserver2000 database from oracle. [this connection will be use purly for backend processing only not for frontend]
Scenario: need to fetch/insert/update the data present on sqlserver2000.I just answered a similar question Oracle connectivity to SQL Sever. You may find it useful.
Cheers, APC -
SQL Connect problem - migration from Oracle 7.3.4 to Oracle 8.0.6
Our development environment has just been upgraded from HP10.20
to HP11 and the database from Oracle 7.3.4.0 to Oracle 8.0.6.0.
I am now having problems with one of the PRO*C programs. The old
executable( compiled in the old enviroment HP10/Oracle734) is
working fine in the new environment. But after I successfully re-
compiled this program in the new environment, the new executable
is not working and stops at the statement: 'EXEC SQL CONNECT:
userid'. I have checked the userid and Oracle settings, they are
correct. Right after the EXEC SQL, I've tried checking the
status of connection, but it never gets there. The
only change to the make file is using
$(ORACLE8_HOME)/precomp/lib/env_precomp.mk instead of using
$(ORACLE7_HOME)/precomp/env_precomp.mk
Other PRO*C programs which are using exactly the same connecting
statemment are working fine.
Anyone have any ideas, I would appreciate them?
Thanks,I am upgrading with precisely the same varaibles that you encountered
and am receiving the same inability to do a simple CONNECT with
Pro*C. Were you able to resolve this problem? If so, please reply
with some guidance.
Thank you.
- Tad Franson
[email protected] -
How to get connected to OIPM from Oracle WebCenter Document Capture
Hi,
How we get connected from Oracle WebCenter Document Capture(ODC) to Oracle WebCenter Cintent:Imaging (OIPM). OIPM is 11g and ODC is 10g. Pls suggest any doc or link.
Thanks and Warm Regards,
RR.Reading your previous question once again, now I think you have actually asked a simpler question than I answered to. Is it that you just need to anyhow send data from ODC to IPM?
If so, it is a standard functionality of ODC, called Commit Profile. I have never worked with IPM, but there is one to UCM and it works the way that you use administrator's login (such as sysadmin in 10g or weblogic in 11g) for authentication and then you map ODC user to a metadata field (in UCM there is a mandatory field called dDocAuthor and there should be value of an existing user; but you can you the administrator here as well, if ODC user info is not important for you). I believe IPM will behave similar.
What you have to check, whether commit profiles are available for IPM 11g, but I believe they are.
As for the documentation, the link I mentioned before contains both installation and configuration manual, so you should find all the info there. -
How to get connected MS SQL from Oracle
I need to connect MS SQL Server (MSDE exactly) to Oracle 8.1.7
and operate it from Oracle side (some clever data imports from
client's sql server machine to bigger Oracle server). I tried to
use ODBC from client to oracle and works fine, but I need "the
other way". Any Ideas?
Please help,
yours HGhttp://asktom.oracle.com/pls/ask/f?p=4950:8:442320::NO::F4950_P8_DISPLAYID,F4950_P8_CRITERIA:1139834557335,%7Bodbc%7D
-
Connecting to SQL 2005 from Oracle error
I have an Oracle Database and SQL Database on the same server and wants to use odbc to connect to the SQL 2005 database and query tables of my choice.
I did configured the ODBC correctly and called the DSN TSH_ARCHIVE. I have tested it and it works great. But each time I run the following query I get error:
SQL> select count(*) from BALANCES_HS@tse_archive;
select count(*) from BALANCES_HS@tse_archive
ERROR at line 1:
ORA-12154: TNS:could not resolve the connect identifier specified
Any suggestion and help will be greatly appreciated.
Edited by: azaza on Jan 28, 2010 6:32 AMHi,
Thanks for the files.
There are some problems with the configuration.
listener.ora -
LISTENERTSE_ARCHIVE =
(ADDRESS_LIST=
(ADDRESS=(PROTOCOL=tcp)(HOST = xxxxx.ita.doc.gov)(PORT=1521))
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
SID_LIST_LISTENER=
(SID_LIST=
(SID_DESC=
(SID_NAME=TSE_ARCHIVE)
(ORACLE_HOME=J:\app\product\11.1.0\db_2)
(PROGRAM=hsodbc)
(SID_DESC=
(SID_NAME=tpisdb06)
(ORACLE_HOME=J:\app\product\11.1.0\db_2)
This should be -
LISTENERTSE_ARCHIVE =
(ADDRESS_LIST=
(ADDRESS=(PROTOCOL=tcp)(HOST = xxxxx.ita.doc.gov)(PORT=1521))
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
SID_LIST_LISTENERTSE_ARCHIVE =
(SID_LIST=
(SID_DESC=
(SID_NAME=TSE_ARCHIVE)
(ORACLE_HOME=J:\app\product\11.1.0\db_2)
(PROGRAM=dg4odbc)
(SID_DESC=
(SID_NAME=tpisdb06)
(ORACLE_HOME=J:\app\product\11.1.0\db_2)
The SID_LIST_LISTENER needs to match the actual listener name and the program for 11g DG4ODBC is called dg4odbc and not hsodbc.
tnsnames.ora -
TSE_ARCHIVE =
(DESCRIPTION=
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = TSE_ARCHIVE)(PORT=1521))
(CONNECT_DATA =
(SERVICE_NAME = TSE_ARCHIVE)
(HS=OK)
The HOST name - TSE_ARCHIVE does not match the HOST in the listener, so it should be -
TSE_ARCHIVE =
(DESCRIPTION=
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = xxxxx.ita.doc.gov)(PORT=1521))
(CONNECT_DATA =
(SERVICE_NAME = TSE_ARCHIVE)
(HS=OK)
I've changed the actual name to xxxxx so replace that with the name in the original file.
Change the files, stop and start the listener then try again.
If you still have an ora-12154 error then send the output from the following SQL -
select db_link, host from user_db_links; <=== as the user getting the error
and
select db_link, host from dba_db_links; <===== as a DBA user
Regards,
Mike
Maybe you are looking for
-
Indexing function in Adobe Acrobat Pro
I am currently using the 30 day trial version of the above software, and am new to the Adobe product. I am able to import a file created in MS Publisher, but am now attempting to create an index file. I searched on the web and found this reference
-
Should I shut down my iPhone every night? Sleep vs shut-down.
Hi, If I never use my phone during the night, should I shut it right down every night? How much energy is used when the iPhone "sleeps" for 8 hours? Thanks for your thoughts on this!
-
Stopping scrollbar in subscreen
Hello Gurus, iam creating 2 subscreen using screen painter the thing is iam getting a scrollbar at the end of the screen which i dnt want?how to stop this scrollbar appearing ? Regards Janapathi
-
Stateless EJB as CORBA callback objects
I am trying to have an EJB working as a client of an external CORBA system that provides an asynchronous interface. This means the EJB has to provide the CORBA server with a Callback object implementing a particular CORBA interface. I'd like to have
-
Importing / Transferring Keyboard Shortcuts into Photoshop CS5
Hello, i am testing out Photoshop 5 and it looks good so far, yet some obstacles are left to solve. For example i wonder how to get the keyboard shortcuts from my old Photoshop (the .kys file) into the PS5? There is no import. I would even manually t