Oracle ODBC driver for Linux from NT
I'm using Oracle v8.0.5 on Linux (trial version)
and I would like to access/see/edit the database(s) from WinNT.
Is there a driver out there for this??
thanx in advance!
null
Eddy Hahn (guest) wrote:
: Daryll (guest) wrote:
: : I'm using Oracle v8.0.5 on Linux (trial version)
: : and I would like to access/see/edit the database(s) from
WinNT.
: : Is there a driver out there for this??
: : thanx in advance!
: You can use regular NT ODBC driver to access Oracle on Linux.
: Just use Net8 Assist or Net8 Easy Config to set it up (on NT).
: Eddy
Oracle 8.0.5 on Linux don't come with Windows 95/98/NT client. I
need to access the Oracle on Linux from Delphi 4 on Windows 98
but I don3t know where to get the Oracle client. Do you know
where I can get the Oracle client for Windows 98 ? I couldn't
find in the Oracle's pages on the Web.
Halley
null
Similar Messages
-
Oracle ODBC driver for Linux (C Language)
Dear Guys,
I am writing small code in C language which will connects Oracle to insert/delete and update data in oracle database. Despite of searching I don't find ODBC driver to connect to Oracle database in Linux platform through C language code. Can anybody please let me know if Oracle provides such ODBC Driver?
Thanks in advanceZaeem wrote:
I am writing small code in C language which will connects Oracle to insert/delete and update data in oracle database. Easily done using the Oracle Call Interface (OCI) directly. No need for ODBC.
Despite of searching I don't find ODBC driver to connect to Oracle database in Linux platform through C language code. Can anybody please let me know if Oracle provides such ODBC Driver?Never seen an ODBC driver for Oracle on Linux. Perl uses its own abstraction interface. PHP uses its own abstraction interface. Ditto for Java. (keep in mind that ODBC is a Microsoft invention)
And the OCI is not that more complex to use than ODBC. In fact, OCI is a lot more powerful. And the Oracle® Call Interface Programmer's Guide has numerous source code examples you can essentially copy and paste and modify for your needs. See Appendix B. Demonstration Programs.
The resulting code is also a lot more portable - relying directly on an OCI client driver, instead of an ODBC driver that runs on top of an OCI driver. -
Oracle ODBC Driver for Rdb 2.10.11.00 on Windows 2008 64-bit
Hello,
Our application runs on Windows 2000 Professional SP4 and connects to RDB databases on Alpha Open/VMS via Oracle ODBC Driver fro Rdb release 2.10.11.00.
We are migrating to Windows Server 2008 64-bit environment.
We tested both recent Rdb ODBC driver releases (3.3.0.0 and 3.3.1.0) but we are getting errors intermittently when the application loads data from certain tables. Trace logs show no errors which could indicate the origin of the issue.
We want to use the old (2.10.11.00) release but it cannot be installed only on the Win 2008 32-bit version.
Can anyone suggest how to install the Oracle ODBC Driver for Rdb release 2.10.11.00 on a Windows 2008 64-bit Server?
Thanks in advance,
MomirHello,
Take a loot at http://www.connx-net.com/rdb.htm they have a 64 bit ODBC OLE DB JBC and .NET solution.
Regards,
Ant -
How to install the Oracle ODBC driver for all NT users
I need to schedule a task on a SQL server running on NT to access an Oracle DB.
I have installed the Oracle ODBC driver on it and it is working well under my NT account.
But the SQL scheduler runs on another NT account and the task failed.
How is it possible to install the Oracle ODBC Driver for all NT users ???
Thanks for your inputs...http://forum.java.sun.com/thread.jsp?forum=48&thread=187964&start=0&range=15#608968
The above link is a comprehensive "How to get set up and on my way" that I made for someone else learning Oracle/jdbc. Kind of a self-help resource page. I would start from the beginning and download the newest drivers, then set up your environment,...etc.
hope this helped,
Jamie -
I'm looking for a place to download an Oracle JDBC driver for Linux. I have installed Oracle 8.1.5 for Linux, but don't find the driver either in the installation, nor on the CD. Can anyone point me to someplace I might be able to find it?
Also, generic help in setting this up to work, JDBC API calls would also be of great help.
Thanks.Luis Claudio Rodrigues da Silveira (guest) wrote:
: How can I configure JDBC driver in a Suse environment? What
are
: the necessary steps?
: Thanks in advance.
1) You need classes111.zip usually located at
$ORACLE_HONE/jdbc/lib.
2) Add classes111.zip to CLASSPATH and export
3) If you use thin driver your code should look like:
Class.forName ("oracle.jdbc.driver.OracleDriver");
// Connect to the database
// You must put a database name after the @ sign in the
connection URL.
// You can use either the fully specified SQL*net syntax or
a short cut
// syntax as <host>:<port>:<sid>. The example uses the
short cut syntax.
Connection conn =
DriverManager.getConnection
(jdbc:oracle:thin:@hostname:port:ORACLE_SID,
USER_NAME, PASSWOED);
null -
Specifying "ARRAYSIZE" in Oracle ODBC Driver for 7.3.4
Is it possible to specify the ARRAYSIZE parameter in the Oracle ODBC Driver for Oracle 7.3.4?
Other vendors provide this facility when creating the data source using ODBC administrator.
If anyone can clarify, it will be a great help.
Regards,
PremanandHello,
Take a loot at http://www.connx-net.com/rdb.htm they have a 64 bit ODBC OLE DB JBC and .NET solution.
Regards,
Ant -
Memory Leak with Oracle ODBC Driver for Long Raw columns
Oracle version : 8.1.7
Platform : Win2K
Oracle ODBC Driver version : 8.0.1.7.5.0.0
Hi,
I've got an Oracle database upgraded from
V8.0.5 to V8.1.7 which has a table having one long raw +
normal columns. I was able to observe distinct memory
leaks (approx 80K) when using ODBC interface calls (thro C++ code) that referenced a combination of normal & long raw columns in a select statement. However, this leak was not observed when only normal columns were present in the
select statement. Is there any known restriction for using
long raw columns with other columns? Or do long raw columns have a known memory leak problem thro ODBC?
Thanks!
Regards
SanchayanDid you ever get an answer on this issue?
Thanks in advance -
What means Rdb in "Oracle ODBC Driver for Rdb" ...
... I assume data basse but what about the upper R ? ^^
thanksoh ok thanks, for OpenVMS platforms only and R as "relational" oki doki
I'm surprise that, when I'm looking for the oracle odbc driver 8, I find almost only result for Rdb, is it not compatible with a windows standard edition as 2000, xp ... -
11G ODBC Driver For Linux x86_64
I've got Oracle Database 11G installed on a machine running Fedora Core.
I'm trying to find an ODBC driver for it, but I am not seeing anything except for one made by EasySoft that you have to pay for.
Oracle's documentation claims that they have ODBC drivers, but when I go to the software section all I see is one for 10G that was last updated in 2006.
Am I just not looking in the right place?
Thank you.Sudheendra,
Clicking on your link provides a location where the instant client can be downloaded. However, the last x86-64 instant client with ODBC is 10.2.0.4 and (as you have mentioned in other threads) this is not "officially" support. Furthermore, there is a bug in this version that appears when trying to run any query (connect is OK though). So, can't use 10.2.0.4. It appears there are no 11.x versions of the x86-64 instant client that support ODBC.
So, given an x86-64 system, where everything is running 64-bit, what are we to do with regards to an Oracle Instant Client?
I have mysql, Teradata and SQL Server all running fine with 64-bit ODBC. Is my only choice to go back to all 32-bit libraries?
Thanks!
Keehan -
Oracle ODBC Driver for Rdb on WinME
The Oracle Universal Installer is not working properly when I try installing the new ODBC driver for Rdb (version 3.0.1.2). The Installer starts, but does not present the NAME field as it has for both Win95 and Win2K. In the destination PATH field is the pathname to the temporary folder I've unzipped the Installer/Driver to and when I change this to an existing folder, i.e., C:\ORAHOME, the Installer informs me that it cannot access the staging area and asks that I check the staging area and destination pathnames.
I have successfully installed the older version 2 driver on ME, but it uses the older installer software. Despite Oracle's claims to the contrary, this new Java-based Installer just doesn't work on ME.
If anyone can help with I would greatly appreciate it. Thanks.
TerryHello,
Take a loot at http://www.connx-net.com/rdb.htm they have a 64 bit ODBC OLE DB JBC and .NET solution.
Regards,
Ant -
Oracle ODBC-Driver for MS Access 2.0
Hi,
we're looking for a MS-Access 2.0-Oracle-ODBC-Driver. It's not a "normal" ODBC-Driver but a Driver provided in the past by Microsoft. Its a special DLL for MS-Access 2.0, not for the Operating System.
any ideas or maybe a link?
Thanks a lot!
heikoSince XE is 10gR2 these drivers should work, did you try? -> http://www.oracle.com/technology/software/tech/windows/odbc/index.html
Kind regards,
Tonguç -
Oracle 11g dg4odbc OpenLink postgres odbc driver for Linux... Integer issue
We were using scuccessfully the openlink driver for postgres odbc driver to connect oracle and postgres in solaris and oracle 10g hsodbc
we are migrating to Linux Oracle 11g and installed linux psotgres odbc driver and configured oracle 11g dg4odbc gateway.
We could connect from oracle and retrive the data from postgres.
Issue we have is
The integer data is not showing correctly…
For example in the postgres the value is 1 and in oracle its shown as 4294967297.
thanks,
Sirishathis is the trace when its working for
select * from "cognos_enrollmentdtl_s"@testag where "trial_id" = 39
and for 39 its returning 167503724583 thsi value in the result set.
Oracle Corporation --- THURSDAY SEP 30 2010 10:39:28.243
Heterogeneous Agent Release
11.2.0.1.0
Oracle Corporation --- THURSDAY SEP 30 2010 10:39:28.243
Version 11.2.0.1.0
Entered hgogprd
HOSGIP for "HS_FDS_TRACE_LEVEL" returned "4"
Entered hgosdip
setting HS_OPEN_CURSORS to default of 50
setting HS_FDS_RECOVERY_ACCOUNT to default of "RECOVER"
setting HS_FDS_RECOVERY_PWD to default value
setting HS_FDS_TRANSACTION_LOG to default of HS_TRANSACTION_LOG
setting HS_IDLE_TIMEOUT to default of 0
setting HS_FDS_TRANSACTION_ISOLATION to default of "READ_COMMITTED"
setting HS_NLS_NCHAR to default of "AL32UTF8"
setting HS_FDS_TIMESTAMP_MAPPING to default of "DATE"
setting HS_FDS_DATE_MAPPING to default of "DATE"
setting HS_RPC_FETCH_REBLOCKING to default of "ON"
setting HS_FDS_FETCH_ROWS to default of "100"
setting HS_FDS_RESULTSET_SUPPORT to default of "FALSE"
setting HS_FDS_RSET_RETURN_ROWCOUNT to default of "FALSE"
setting HS_FDS_PROC_IS_FUNC to default of "FALSE"
setting HS_FDS_CHARACTER_SEMANTICS to default of "FALSE"
setting HS_FDS_MAP_NCHAR to default of "TRUE"
setting HS_NLS_DATE_FORMAT to default of "YYYY-MM-DD HH24:MI:SS"
setting HS_FDS_REPORT_REAL_AS_DOUBLE to default of "FALSE"
setting HS_LONG_PIECE_TRANSFER_SIZE to default of "65536"
setting HS_SQL_HANDLE_STMT_REUSE to default of "FALSE"
setting HS_FDS_QUERY_DRIVER to default of "TRUE"
setting HS_FDS_SUPPORT_STATISTICS to default of "FALSE"
Parameter HS_FDS_QUOTE_IDENTIFIER is not set
setting HS_KEEP_REMOTE_COLUMN_SIZE to default of "OFF"
setting HS_FDS_GRAPHIC_TO_MBCS to default of "FALSE"
setting HS_FDS_MBCS_TO_GRAPHIC to default of "FALSE"
Default value of 64 assumed for HS_FDS_SQLLEN_INTERPRETATION
setting HS_CALL_NAME_ISP to "gtw$:SQLTables;gtw$:SQLColumns;gtw$:SQLPrimaryKeys;gtw$:SQLForeignKeys;gtw$:SQLProcedures;gtw$:SQLStatistics;gtw$:SQLGetInfo"
setting HS_FDS_DELAYED_OPEN to default of "TRUE"
setting HS_FDS_WORKAROUNDS to default of "0"
Exiting hgosdip, rc=0
ORACLE_SID is "testag"
Product-Info:
Port Rls/Upd:1/0 PrdStat:0
Agent:Oracle Database Gateway for ODBC
Facility:hsa
Class:ODBC, ClassVsn:11.2.0.1.0_0008, Instance:testag
Exiting hgogprd, rc=0
Entered hgoinit
HOCXU_COMP_CSET=1
HOCXU_DRV_CSET=31
HOCXU_DRV_NCHAR=873
HOCXU_DB_CSET=31
HOCXU_SEM_VER=112000
Entered hgolofn at 2010/09/30-10:39:28
HOSGIP for "HS_FDS_SHAREABLE_NAME" returned "/usr/local/OpenLink/lib/libodbc.so"
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLAllocHandle
symbol_peflctx=0xaab20640
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLBindCol
symbol_peflctx=0xaab18a10
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLBindParameter
symbol_peflctx=0xaab153d0
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLCancel
symbol_peflctx=0xaab10200
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLDescribeParam
symbol_peflctx=0xaab080c0
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLDisconnect
symbol_peflctx=0xaab05e00
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLEndTran
symbol_peflctx=0xaab1a360
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLExecute
symbol_peflctx=0xaab09440
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLFetch
symbol_peflctx=0xaab0a7a0
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLFreeHandle
symbol_peflctx=0xaab1fbd0
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLFreeStmt
symbol_peflctx=0xaab111d0
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLGetData
symbol_peflctx=0xaab0a210
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLGetEnvAttr
symbol_peflctx=0xaab1f870
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLGetFunctions
symbol_peflctx=0xaab11f70
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLMoreResults
symbol_peflctx=0xaab09ce0
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLNumResultCols
symbol_peflctx=0xaab17f70
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLParamData
symbol_peflctx=0xaab08a20
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLPutData
symbol_peflctx=0xaab08680
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLRowCount
symbol_peflctx=0xaab180b0
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLSetEnvAttr
symbol_peflctx=0xaab1fa30
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLSetDescRec
symbol_peflctx=0xaab1bc10
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLColAttribute
symbol_peflctx=0xaab1b890
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLColumns
symbol_peflctx=0xaab007b0
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLConnect
symbol_peflctx=0xaab05c50
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLDescribeCol
symbol_peflctx=0xaab17d50
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLDriverConnect
symbol_peflctx=0xaab07d30
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLExecDirect
symbol_peflctx=0xaab092e0
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLForeignKeys
symbol_peflctx=0xaaaffc20
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLGetConnectAttr
symbol_peflctx=0xaab1d8a0
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLGetDescField
symbol_peflctx=0xaab1cfe0
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLGetDescRec
symbol_peflctx=0xaab1c3b0
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLGetDiagField
symbol_peflctx=0xaab0ed30
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLGetDiagRec
symbol_peflctx=0xaab0d5a0
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLGetInfo
symbol_peflctx=0xaab130a0
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLGetStmtAttr
symbol_peflctx=0xaab1f6e0
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLGetTypeInfo
symbol_peflctx=0xaaafd250
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLPrepare
symbol_peflctx=0xaab16560
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLPrimaryKeys
symbol_peflctx=0xaaafeed0
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLProcedureColumns
symbol_peflctx=0xaaafe550
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLProcedures
symbol_peflctx=0xaaafdad0
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLSetConnectAttr
symbol_peflctx=0xaab1df70
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLSetStmtAttr
symbol_peflctx=0xaab1f260
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLSetDescField
symbol_peflctx=0xaab1cb30
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLStatistics
symbol_peflctx=0xaaafb6f0
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Entered hgolofns at 2010/09/30-10:39:28
libname=/usr/local/OpenLink/lib/libodbc.so, funcname=SQLTables
symbol_peflctx=0xaab01d70
hoaerr:0
Exiting hgolofns at 2010/09/30-10:39:28
Exiting hgolofn, rc=0 at 2010/09/30-10:39:28
HOSGIP for "HS_OPEN_CURSORS" returned "50"
HOSGIP for "HS_FDS_FETCH_ROWS" returned "100"
HOSGIP for "HS_LONG_PIECE_TRANSFER_SIZE" returned "65536"
HOSGIP for "HS_NLS_NUMERIC_CHARACTER" returned ".,"
HOSGIP for "HS_KEEP_REMOTE_COLUMN_SIZE" returned "OFF"
HOSGIP for "HS_FDS_DELAYED_OPEN" returned "TRUE"
HOSGIP for "HS_FDS_WORKAROUNDS" returned "0"
HOSGIP for "HS_FDS_MBCS_TO_GRAPHIC" returned "FALSE"
HOSGIP for "HS_FDS_GRAPHIC_TO_MBCS" returned "FALSE"
Invalid value of 64 given for HS_FDS_SQLLEN_INTERPRETATION
treat_SQLLEN_as_compiled = 1
Exiting hgoinit, rc=0 at 2010/09/30-10:39:28
Entered hgolgon at 2010/09/30-10:39:28
reco:0, name:readonly, tflag:0
Entered hgosuec at 2010/09/30-10:39:28
Exiting hgosuec, rc=0 at 2010/09/30-10:39:28
HOSGIP for "HS_FDS_RECOVERY_ACCOUNT" returned "RECOVER"
HOSGIP for "HS_FDS_TRANSACTION_LOG" returned "HS_TRANSACTION_LOG"
HOSGIP for "HS_FDS_TIMESTAMP_MAPPING" returned "DATE"
HOSGIP for "HS_FDS_DATE_MAPPING" returned "DATE"
HOSGIP for "HS_FDS_CHARACTER_SEMANTICS" returned "FALSE"
HOSGIP for "HS_FDS_MAP_NCHAR" returned "TRUE"
HOSGIP for "HS_FDS_RESULTSET_SUPPORT" returned "FALSE"
HOSGIP for "HS_FDS_RSET_RETURN_ROWCOUNT" returned "FALSE"
HOSGIP for "HS_FDS_PROC_IS_FUNC" returned "FALSE"
HOSGIP for "HS_FDS_REPORT_REAL_AS_DOUBLE" returned "FALSE"
using readonly as default value for "HS_FDS_DEFAULT_OWNER"
HOSGIP for "HS_SQL_HANDLE_STMT_REUSE" returned "FALSE"
Entered hgocont at 2010/09/30-10:39:28
HS_FDS_CONNECT_INFO = "testag"
RC=-1 from HOSGIP for "HS_FDS_CONNECT_STRING"
Entered hgogenconstr at 2010/09/30-10:39:28
dsn:testag, name:readonly
optn:
Entered hgocip at 2010/09/30-10:39:28
dsn:testag
Exiting hgocip, rc=0 at 2010/09/30-10:39:28
##>Connect Parameters (len=40)<##
## DSN=testag;
#! UID=readonly;
#! PWD=*
Exiting hgogenconstr, rc=0 at 2010/09/30-10:39:28
Entered hgolosf at 2010/09/30-10:39:28
ODBC Function-Available-Array 0xFFFE 0x01FF 0xFF00 0xFD7F 0x015F 0x0000
0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
0x0000 0x0000 0xFA00 0x3F5F
Exiting hgolosf, rc=0 at 2010/09/30-10:39:28
DriverName:pgr7_mt_lt.so, DriverVer:06.01.0524 OpenLink PostgreSQL Lite Driver
DBMS Name:PostgreSQL, DBMS Version:07.02.0000
Exiting hgocont, rc=0 at 2010/09/30-10:39:28
SQLGetInfo returns Y for SQL_CATALOG_NAME
SQLGetInfo returns 32 for SQL_MAX_CATALOG_NAME_LEN
Exiting hgolgon, rc=0 at 2010/09/30-10:39:28
Entered hgoulcp at 2010/09/30-10:39:28
Entered hgowlst at 2010/09/30-10:39:28
Exiting hgowlst, rc=0 at 2010/09/30-10:39:28
SQLGetInfo returns 0x0 for SQL_OWNER_USAGE
TXN Capable:2, Isolation Option:0xa
SQLGetInfo returns 0 for SQL_MAX_SCHEMA_NAME_LEN
SQLGetInfo returns 32 for SQL_MAX_TABLE_NAME_LEN
SQLGetInfo returns 32 for SQL_MAX_PROCEDURE_NAME_LEN
SQLGetInfo returns " (0x22) for SQL_IDENTIFIER_QUOTE_CHAR
SQLGetInfo returns N for SQL_COLUMN_ALIAS
5 instance capabilities will be uploaded
capno:1964, context:0x00000000, add-info: 0
capno:1989, context:0x00000000, add-info: 0
capno:1991, context:0x00000000, add-info: 0
capno:1992, context:0x0001ffff, add-info: 0
capno:3007, context:0x00000000, add-info: -3, translation:"36"
Exiting hgoulcp, rc=0 at 2010/09/30-10:39:28
Entered hgouldt at 2010/09/30-10:39:28
NO instance DD translations were uploaded
Exiting hgouldt, rc=0 at 2010/09/30-10:39:28
Entered hgobegn at 2010/09/30-10:39:28
tflag:0 , initial:1
hoi:0x2db07578, ttid (len 26) is ...
00: 4D4D4D41 54524958 2E623835 34333234 [testac.b854324]
10: 322E382E 31332E37 3936 [2.8.13.796]
tbid (len 23) is ...
00: 4D4D4D41 54524958 5B382E31 332E3739 [testac[8.13.79]
10: 365D5B31 2E345D [6][1.4]]
Exiting hgobegn, rc=0 at 2010/09/30-10:39:28
Entered hgodtab at 2010/09/30-10:39:28
count:1
table: cognos_enrollmentdtl_s
Allocate hoada[0] @ 0x5f38a60
Entered hgopcda at 2010/09/30-10:39:28
Column:1(trial_id): dtype:4 (INTEGER), prc/scl:10/0, nullbl:1, octet:0, sign:1, radix:10
Exiting hgopcda, rc=0 at 2010/09/30-10:39:28
Entered hgopcda at 2010/09/30-10:39:28
Column:2(trial_name): dtype:12 (VARCHAR), prc/scl:64/0, nullbl:1, octet:0, sign:1, radix:10
Exiting hgopcda, rc=0 at 2010/09/30-10:39:28
Entered hgopcda at 2010/09/30-10:39:28
Column:3(subjcnt): dtype:4 (INTEGER), prc/scl:10/0, nullbl:1, octet:0, sign:1, radix:10
Exiting hgopcda, rc=0 at 2010/09/30-10:39:28
Entered hgopcda at 2010/09/30-10:39:28
Column:4(total_expected_enrollment): dtype:4 (INTEGER), prc/scl:10/0, nullbl:1, octet:0, sign:1, radix:10
Exiting hgopcda, rc=0 at 2010/09/30-10:39:28
Entered hgopcda at 2010/09/30-10:39:28
Column:5(site_name): dtype:12 (VARCHAR), prc/scl:256/0, nullbl:1, octet:0, sign:1, radix:10
Exiting hgopcda, rc=0 at 2010/09/30-10:39:28
The hoada for table cognos_enrollmentdtl_s follows...
hgodtab, line 876: Printing hoada @ 0x5f38a60
MAX:5, ACTUAL:5, BRC:1, WHT=6 (TABLE_DESCRIBE)
hoadaMOD bit-values found (0x200:TREAT_AS_CHAR)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
4 INTEGER Y 4 4 0/ 0 0 0 0 trial_id
12 VARCHAR Y 0 0 0/ 0 0 0 200 trial_name
4 INTEGER Y 4 4 0/ 0 0 0 0 subjcnt
4 INTEGER Y 4 4 0/ 0 0 0 0 total_expected_enrollment
12 VARCHAR Y 0 0 0/ 0 0 0 200 site_name
Exiting hgodtab, rc=0 at 2010/09/30-10:39:28
Entered hgodafr, cursor id 0 at 2010/09/30-10:39:28
Free hoada @ 0x5f38a60
Exiting hgodafr, rc=0 at 2010/09/30-10:39:28
Entered hgopars, cursor id 1 at 2010/09/30-10:39:28
type:0
SQL text from hgopars, id=1, len=151 ...
00: 53454C45 43542041 312E2274 7269616C [SELECT A1."trial]
10: 5F696422 2C41312E 22747269 616C5F6E [_id",A1."trial_n]
20: 616D6522 2C41312E 22737562 6A636E74 [ame",A1."subjcnt]
30: 222C4131 2E22746F 74616C5F 65787065 [",A1."total_expe]
40: 63746564 5F656E72 6F6C6C6D 656E7422 [cted_enrollment"]
50: 2C41312E 22736974 655F6E61 6D652220 [,A1."site_name" ]
60: 46524F4D 2022636F 676E6F73 5F656E72 [FROM "cognos_enr]
70: 6F6C6C6D 656E7464 746C5F73 22204131 [ollmentdtl_s" A1]
80: 20574845 52452041 312E2274 7269616C [ WHERE A1."trial]
90: 5F696422 3D3339 [_id"=39]
Exiting hgopars, rc=0 at 2010/09/30-10:39:28
Entered hgoopen, cursor id 1 at 2010/09/30-10:39:28
hgoopen, line 86: NO hoada to print
Deferred open until first fetch.
Exiting hgoopen, rc=0 at 2010/09/30-10:39:28
Entered hgodscr, cursor id 1 at 2010/09/30-10:39:28
Allocate hoada @ 0x5f38a60
Entered hgopcda at 2010/09/30-10:39:28
Column:1(trial_id): dtype:4 (INTEGER), prc/scl:10/0, nullbl:2, octet:0, sign:1, radix:0
Exiting hgopcda, rc=0 at 2010/09/30-10:39:28
Entered hgopcda at 2010/09/30-10:39:28
Column:2(trial_name): dtype:12 (VARCHAR), prc/scl:64/0, nullbl:2, octet:64, sign:1, radix:0
Exiting hgopcda, rc=0 at 2010/09/30-10:39:28
Entered hgopcda at 2010/09/30-10:39:28
Column:3(subjcnt): dtype:4 (INTEGER), prc/scl:10/0, nullbl:2, octet:64, sign:1, radix:0
Exiting hgopcda, rc=0 at 2010/09/30-10:39:28
Entered hgopcda at 2010/09/30-10:39:28
Column:4(total_expected_enrollment): dtype:4 (INTEGER), prc/scl:10/0, nullbl:2, octet:64, sign:1, radix:0
Exiting hgopcda, rc=0 at 2010/09/30-10:39:28
Entered hgopcda at 2010/09/30-10:39:28
Column:5(site_name): dtype:12 (VARCHAR), prc/scl:256/0, nullbl:2, octet:256, sign:1, radix:0
Exiting hgopcda, rc=0 at 2010/09/30-10:39:28
hgodscr, line 880: Printing hoada @ 0x5f38a60
MAX:5, ACTUAL:5, BRC:100, WHT=5 (SELECT_LIST)
hoadaMOD bit-values found (0x200:TREAT_AS_CHAR)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
4 INTEGER Y 4 4 0/ 0 0 0 0 trial_id
12 VARCHAR Y 64 64 0/ 0 0 0 200 trial_name
4 INTEGER Y 4 4 0/ 0 0 0 0 subjcnt
4 INTEGER Y 4 4 0/ 0 0 0 0 total_expected_enrollment
12 VARCHAR Y 256 256 0/ 0 0 0 200 site_name
Exiting hgodscr, rc=0 at 2010/09/30-10:39:28
Entered hgoftch, cursor id 1 at 2010/09/30-10:39:28
hgoftch, line 130: Printing hoada @ 0x5f38a60
MAX:5, ACTUAL:5, BRC:100, WHT=5 (SELECT_LIST)
hoadaMOD bit-values found (0x200:TREAT_AS_CHAR)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
4 INTEGER Y 4 4 0/ 0 0 0 0 trial_id
12 VARCHAR Y 64 64 0/ 0 0 0 200 trial_name
4 INTEGER Y 4 4 0/ 0 0 0 0 subjcnt
4 INTEGER Y 4 4 0/ 0 0 0 0 total_expected_enrollment
12 VARCHAR Y 256 256 0/ 0 0 0 200 site_name
Performing delayed open.
SQLBindCol: column 1, cdatatype: -16, bflsz: 4
SQLBindCol: column 2, cdatatype: 1, bflsz: 65
SQLBindCol: column 3, cdatatype: -16, bflsz: 4
SQLBindCol: column 4, cdatatype: -16, bflsz: 4
SQLBindCol: column 5, cdatatype: 1, bflsz: 257
SQLFetch: row: 1, column 1, bflsz: 4, bflar: 8
SQLFetch: row: 1, column 1, bflsz: 4, bflar: 8, (bfl: 4, mbl: 4)
SQLFetch: row: 1, column 2, bflsz: 65, bflar: 15
SQLFetch: row: 1, column 2, bflsz: 65, bflar: 15, (bfl: 64, mbl: 64)
SQLFetch: row: 1, column 3, bflsz: 4, bflar: 8
SQLFetch: row: 1, column 3, bflsz: 4, bflar: 8, (bfl: 4, mbl: 4)
SQLFetch: row: 1, column 4, bflsz: 4, bflar: 8
SQLFetch: row: 1, column 4, bflsz: 4, bflar: 8, (bfl: 4, mbl: 4)
SQLFetch: row: 1, column 5, bflsz: 257, bflar: 23
SQLFetch: row: 1, column 5, bflsz: 257, bflar: 23, (bfl: 256, mbl: 256)
SQLFetch: row: 2, column 1, bflsz: 4, bflar: 8
SQLFetch: row: 2, column 1, bflsz: 4, bflar: 8, (bfl: 4, mbl: 4)
SQLFetch: row: 2, column 2, bflsz: 65, bflar: 15
SQLFetch: row: 2, column 2, bflsz: 65, bflar: 15, (bfl: 0, mbl: 64)
SQLFetch: row: 2, column 3, bflsz: 4, bflar: 8
SQLFetch: row: 2, column 3, bflsz: 4, bflar: 8, (bfl: 4, mbl: 4)
SQLFetch: row: 2, column 4, bflsz: 4, bflar: 8
SQLFetch: row: 2, column 4, bflsz: 4, bflar: 8, (bfl: 4, mbl: 4)
SQLFetch: row: 2, column 5, bflsz: 257, bflar: 35
SQLFetch: row: 2, column 5, bflsz: 257, bflar: 35, (bfl: 0, mbl: 256)
SQLFetch: row: 3, column 1, bflsz: 4, bflar: 8
SQLFetch: row: 3, column 1, bflsz: 4, bflar: 8, (bfl: 4, mbl: 4)
SQLFetch: row: 3, column 2, bflsz: 65, bflar: 15
SQLFetch: row: 3, column 2, bflsz: 65, bflar: 15, (bfl: 0, mbl: 64)
SQLFetch: row: 3, column 3, bflsz: 4, bflar: 8
SQLFetch: row: 3, column 3, bflsz: 4, bflar: 8, (bfl: 4, mbl: 4)
SQLFetch: row: 3, column 4, bflsz: 4, bflar: 8
SQLFetch: row: 3, column 4, bflsz: 4, bflar: 8, (bfl: 4, mbl: 4)
i will paste the remaing trace in another reply..as the 30000 char exceeded
Edited by: Kodali.S on Sep 30, 2010 8:22 AM
Edited by: Kodali.S on Sep 30, 2010 8:25 AM -
JDBC (ODBC) Driver for linux
Hello
I am currently using JdbcOdbcBridge on Windows NT/2000 for accessing MS SQLServer.
But I want to transfer my application servers to Linux
RedHat 7.1. My database should remain MS SQLServer.
Can you suggest me a way to connect to MSSQL Server
from Linux? An ODBC driver would also be
enough for me, i.e. I can use a JdbcOdbcBridge regardless of performance problems.
Where can I find MS SQL Server drivers for Linux?
Thank youYou might try the http://www.freetds.org/.
Or RmiJdbc at http://www.objectweb.org/ -
I am using the unixODBC driver from Easysoft to connect to the Oracle dB from a C++ application on the Linux Platform. I am able to connect and even insert data into the dB. However, I am unable to get any results thru a select statement. I don't get any errors - I just don't get any data. I am wondering if this might be a ODBC driver problem glitch and if anyone knows of an ODBC driver that definitely works?
Here is a piece of the code:
int
NamesRequestor::GetNamesBarZip11UsingZipAndPrimary(char *Zip,
char *Primary,
char *NamesResult,
int MaxNumResultRecords,
int MaxResultRecordSize)
SQLRETURN retcode, rc1;
SQLHSTMT hstmt;
SQLCHAR SqlState[6], Msg[SQL_MAX_MESSAGE_LENGTH];
SQLINTEGER NativeError;
SQLSMALLINT i, MsgLen;
SQLCHAR SQLStmt[128], OutName[50], OutZip5[6], OutZip4[5], OutDpc[3];
SQLINTEGER ONameLen =0, OZip5Len=0, OZip4Len=0, ODpcLen=0, OCount=0;
SDWORD cbParam = SQL_NTS;
SQLCHAR SQLStmtNatv[128];
SQLINTEGER NatvLength;
char msgbuf[256];
char Zip5[6], PrimaryNum[16];
strcpy(Zip5, Zip);
strcpy(PrimaryNum, Primary);
OutName[0] = 0;
retcode = SQLAllocHandle (SQL_HANDLE_STMT , DBHandle, &hstmt);
if ( (retcode != SQL_SUCCESS) &&
(retcode != SQL_SUCCESS_WITH_INFO) ) {
pNamesDBObj->SetErrorMsgs("SQLAllocHandle(Statement) failed\n");
return 0;
#ifdef ORACLE
retcode = SQLSetStmtAttr(hstmt, SQL_ATTR_CURSOR_TYPE, SQL_CURSOR_STATIC,
SQL_IS_UINTEGER);
#endif
#ifdef ORACLE
sprintf((char *)SQLStmt,"select count(*) as rcount from ResNames where zip5 = 56001");
retcode = SQLNativeSql(DBHandle, SQLStmt, strlen(SQLStmt), SQLStmtNatv, 128, &NatvLength);
#endif
retcode = SQLExecDirect(hstmt,(SQLCHAR *)SQLStmt, SQL_NTS);
// Process any errors or returned information.
if (retcode == SQL_ERROR) {
i = 1;
while ((rc1 = SQLGetDiagRec(SQL_HANDLE_STMT, hstmt, i,
SqlState, &NativeError,
Msg, sizeof(Msg), &MsgLen)) != SQL_NO_DATA) {
if ((strlen(msgbuf) + MsgLen) < 255)
strncat(msgbuf,(const char *)Msg,MsgLen);
else
break;
i++;
strcat(msgbuf,"\n");
pNamesDBObj->SetErrorMsgs( msgbuf);
rc1 = SQLFreeHandle(SQL_HANDLE_STMT, hstmt);
if ((rc1 !=SQL_SUCCESS) && (rc1 != SQL_SUCCESS_WITH_INFO))
pNamesDBObj->SetErrorMsgs("SQLFreeHandle(StmtHandle) failed! \n");
return 0;
SQLBindCol(hstmt, 1, SQL_C_LONG, &OCount, 8, &ONameLen);
i=0;
while ((retcode = SQLFetch(hstmt)) != SQL_NO_DATA) {
if (retcode != SQL_ERROR | | retcode != SQL_SUCCESS_WITH_INFO)
if (ONameLen < 1)
continue;
if (ONameLen < MaxResultRecordSize)
sprintf(&NamesResult[i*MaxResultRecordSize], "%s | %s%s%s",
(const char *)OutName, (const char *) OutZip5,
(const char *) OutZip4, (const char *) OutDpc);
else
strncpy(&NamesResult[i*MaxResultRecordSize], (const char *)OutName, MaxResultRecordSize);
NamesResult[(i+1)*MaxResultRecordSize] = 0;
i++;
OutName[0] = 0;
OutZip5[0] = 0;
OutZip4[0] = 0;
OutDpc[0] = 0;
if (i> MaxNumResultRecords)
break;
nullI suspect you just need to get rid of the 'as rcount' clause in your select statement.
Justin -
SQLGetDiagRecW is buggy in the ODBC driver for linux
We have been using the Microsoft ODBC Driver 11 for SQL Server on Linux with a Qt based application and noticed that error messages are truncated and end with a string of garbage.
We traced it down to the point where the driver manager in unixODBC calls SQLGetDiagRecW on the driver.
This is the signature of the SQLGetDiagRec function, which shares the interface with its wide char counterpart, as described in this documentation page: https://msdn.microsoft.com/en-us/library/ms716256(v=vs.85).aspx
SQLRETURN SQLGetDiagRec(
SQLSMALLINT HandleType,
SQLHANDLE Handle,
SQLSMALLINT RecNumber,
SQLCHAR * SQLState,
SQLINTEGER * NativeErrorPtr,
SQLCHAR * MessageText,
SQLSMALLINT BufferLength,
SQLSMALLINT * TextLengthPtr);
The function is called twice, once with a null pointer as
MessageText to obtain the length of the message text in characters in the
TextLengthPtr parameter. Once this is obtained, Qt then allocates a buffer large enough to hold that number of characters.
It is important to note that we are dealing with wide characters here, so each character is two bytes.
Now Qt calls SQLGetDiagRecW, this time with MessageText pointing to the newly allocated buffer and it's length (in characters) as the BufferLength parameter.
Only now the function seems to interpret this BufferLength as size of the buffer in bytes, and since it has not enough space to write its text, it writes only half of the message in MessageText and returns SQL_SUCCESS_WITH_INFO.
Unfortunately Qt treats this return code the same way it treats a SQL_SUCCESS so we never get the other half.
However, the fact remains that the driver is outputting sizes in characters and then interpreting them as sizes in bytes.
In the documentation linked above, both BufferLength and TextLengthPtr are described in terms of
characters. But I also notice that a bit further down, it mentions StringLengthPtr in terms of
bytes.
We found also this KB article ( https://support.microsoft.com/en-us/kb/kbview/243526?wa=wsignin1.0 ) that seems to imply that the description was such that matches the observed behavior, but while the description has been changed, the wrong behavior
remains.
I've tried to report this in the Connect site but it has been impossible, I always get an error saying that I'm not authorized. Anybody knows how else I can reach the developers?
For now we have patched unixODBC to duplicate the value of the output TextLengthPtr on the first call, so that Qt allocates twice the amount of memory than it is really needed. This is done as a safer counterpart to telling
the driver we have double the space, since that would bring problems if and when the driver is fixed.I suspect you just need to get rid of the 'as rcount' clause in your select statement.
Justin
Maybe you are looking for
-
Hi everyone, I did all the necessary configuration for AR when im doing the post incoming payments the system showing an error AN ENTRY XX IS MISSING IN TABLE T043G Message no. F5100 can anyone help me Thanks... bagi....
-
Translation Software for .pdf files
I have an instruction book in French which I want to translate to English in pdf format, I have Adobe reader 9 and can dump the text into a primitive translation software which is only suitable for Hi and Hello use, which loses the guide images. I ha
-
8500 All in One - touch screen not working
One minute the touch screen with all it's functions was working fine and then, bam (!), the touch screen stopped working and I can't even use the one/off switch to power the unit off - it does not respond. Funny thing is that the printer is still wo
-
Adobe Photoshop Album Édition Découverte
How I can unlock my album? I have never had a code for it. Now it's asking me a code and the product is unavailable. What can I do for unlocking it?
-
CS5 loading wrong images!
See it in action here: http://www.youtube.com/watch?v=-SprebJ4R-U Issue#1 I can live with. Issue#2 is a deal breaker, and a very strange one at that!