Timesten and odbc driver

i installed timesten 7.00.01, and created a mfc application(mfc 7.1).
CDatabase is mfc class, see the following fraction code
CDatabase     m_db;
m_db.Open("mysql");//connect to mysql
//m_db.Open("tt");//connect to timestamp
CString sql("create table bar2(date1 char(20))");
m_db.ExecuteSQL(sql);
in timestamp, connect is ok, but when calling executesql, system complained
"driver does not support this function"
but in fact the table had been already created, i can see it using ttIsql
in mysql, everything is ok.
any idea about this? it seems to me it is a problem related to odbc drvier.

sorry for my mistakenly typing.
i found the reason is ::SQLMoreResults is not support in timesten.
and this guy encounter the same problem as me.
http://www.codeguru.com/forum/showthread.php?t=413620
can anyone help? thanks in advance.

Similar Messages

  • Memory leak when using database connectivity toolset and ODBC driver for MySQL

    The "DB Tools Close Connection VI" does not free all the memory used when "DB Tools Open Connection VI" connects to "MySQL ODBC Driver 3.51".
    I have made a small program that only opens and close the connection that I run continously and it's slowly eating all my memory. No error is given from any of the VI's. (I'm using the "Simple Error Handler VI" to check for errors.)
    I've also tried different options in the DSN configuration without any results.
    Attachments:
    TestProgram.vi ‏16 KB
    DSNconfig1.jpg ‏36 KB
    DSNconfig2.jpg ‏49 KB

    Also,
    I've duplicated the OPs example: a simple VI that opens and closes a connection. I can say this definately causes a memory leak.
    Watching the memory:
    10:17AM - 19308K
    10:19AM - 19432K
    10:22AM - 19764K
    10:58AM - 22124K
    Regards,
    Ken
    Attachments:
    OpenCloseConnection.vi ‏13 KB

  • ODAC 10.2.0.2.21 and ODBC driver

    Does ODAC 10.2.0.2.21 install the Oracle ODBC driver as part of the install ?
    http://www.oracle.com/technology/software/tech/windows/odpnet/index.html
    If so, which version of the ODBC driver does it install ?
    Thanks.

    From the "installation instructions":
    Download includes the following products:
    a) Oracle Data Provider for .NET 1.x (10.2.0.2.20)
    b) Oracle Data Provider for .NET 2.0 (10.2.0.2.20)
    c) Oracle Database Extensions for .NET 1.x (10.2.0.2.20) -- upgrade only
    d) Oracle Database Extensions for .NET 2.0 (10.2.0.2.20) -- upgrade only
    e) Oracle Services for Microsoft Transaction Server (10.2.0.1.0)
    f) Oracle Provider for OLE DB (10.2.0.2.20)
    g) Oracle Objects for OLE (10.2.0.2.20)
    h) Oracle Client (10.2.0.1.0)
    i) Oracle Universal Installer (10.2.0.2.0)
    If you're after an odbc driver, the various versions available for download can be found here:
    http://www.oracle.com/technology/software/tech/windows/odbc/index.html
    - Mark

  • Oracle ODBC Driver and Numbers in ASP

    When I try to retrieve a number field from my RecordSet I allways get 0, allthow when viewing the field from SQL Plus I get another value.
    objRs is an ADODB.resultSet and state is a Number(5) field.
    I've tried:
    objRs("state")
    objRs("state").value
    objRs.Fields("state")
    objRs.Fields("state").value
    but they all return 0
    null

    1) As I recall, the problem of returning 0 is caused either by an outdated version of the ODBC driver or of the MDAC (Microsoft Data Access Components). Updated versions of the ODBC driver are available here on OTN and updated versions of the MDAC are available at <http://www.microsoft.com/data>.
    2) Versioning-
    To determine the version of the Oracle8 ODBC driver you should be using, simply match up the first three digits of the ODBC driver version and the Oracle client version (see chart Mr. Oehl posted). The 8.1.5.6 ODBC driver should go on an 8.1.5.x.x system, the 8.1.6.1 ODBC driver should go on an 8.1.6.x.x system. If you have an Oracle7 client, you'll need one of the version 2.5x Oracle7 ODBC drivers.
    Any ODBC driver should connect with any Oracle database. No need to match anything up there. You can determine the version of the database you're connected to by calling the ODBC function SQLGetInfo with the InfoType SQL_DBMS_VER.
    A little elaboration on version numbers
    - Oracle versions are generally 5 digits (i.e. 8.0.5.2.4, 8.1.5.1.1). The versions that you get on CD's are generally (always?) x.x.x.0.0 versions (i.e. 8.1.5.0.0, 8.1.6.0.0). The last two digits are incremented by periodic patchkit releases <ftp://oracle-ftp.oracle.com/server/patchsets/wgt_tech/server/windowsNT/>
    - ODBC drivers must report versions in 4 parts, each part having 2 digits (i.e. 8.01.05.05). Since we're lazy about typing extra 0's, we simplify this and just refer to the 8.1.5.5 ODBC driver.
    - The 8.1.5.x ODBC driver is built with the client libraries that ship with Oracle 8.1.5.x.x, the 8.1.6.x ODBC driver is built with the client libraries that ship with Oracle 8.1.6.x.x, etc. This is why I said above that you need to match the first 3 version numbers between Oracle client and ODBC driver to determine which to use.
    I hope this is more enlightening than confusing...
    Justin Cave
    ODBC Development
    null

  • Help w/ODBC driver and Oracle 7 (and maybe 8)

    Hi,
    Can anyone give me some information about using the Oracle ODBC driver for Windows? I know that it is no longer supported, but our application uses the Oracle 7 (7.3.4) client to connect to an Oracle 8i server. I have some reports written in a MS Access front end that connect through the ODBC (Oracle 7 driver) to the server.
    When I run a query that takes a long time to return results, I find the connection times out whenever I use Windows2000/NT but is fine when I use 98. I also have this problem when I use the Oracle 8 client/driver and I am sure to remove the check from the "Enable Query Timeout" box in the ODBC setup. Again, even with 8, no problem on 98, but timeouts still happen on NT/2000
    Is there a known bug out there on this and is there some way to fix it?
    Thanks for your help and regards,
    Eugene

    The Oracle ODBC driver is certainly still a supported product. There are old versions (i.e. the Oracle7 driver that are no longer supported).
    Which version of the Oracle 8 client & ODBC driver are you using? If you're using a older 8.0.x client and ODBC driver, those may not have been certified on Windows 2000. Can you connect to the database with SQL*Plus on the machines where the Oracle 8 client & ODBC driver are installed?
    Is it possible that the user that's running the Access front-end doesn't have sufficient privs to the %ORACLE_HOME% directory? I know NT & 2000 actually enforce this sort of thing, where 98 doesn't.
    Justin

  • Setting up an Oracle ODBC Driver and Essbase

    Hi all,
    I am trying to retrieve data directly from Essbase into SAS (Statistical Analysis Software) by setting up an Oracle ODBC Driver and Essbase.
    I read this document in the below link and I was convinced that I could use ODBC to connect to Essbase, but our data administrator says that Essbase is an OLAP database and can NOT use ODBC.
    http://docs.oracle.com/cd/E10530_01/doc/epm.931/esb_sqlint.pdf
    I am a SAS programmer, but I have no background in technical configuration, so I was wondering if someone can help me if it is really possible or not to connect to Essbase using ODBC.
    If it is possible, I have a follow up question...
    I followed this link below to do a set up and did so successfully before the actual step to add a new data source to ODBC driver.
    I should be able to select the TNS Service Name from the drop down list. This name will be that which I named in the TNSNAMES.ora file’s Alias = section, but I don’t see this option…
    It would be great if someone knows why I do not see this option populated under drop-down in the screenshot.
    Setting up an Oracle ODBC Driver and Data Source | Ten Six Consulting

    1) As I recall, the problem of returning 0 is caused either by an outdated version of the ODBC driver or of the MDAC (Microsoft Data Access Components). Updated versions of the ODBC driver are available here on OTN and updated versions of the MDAC are available at <http://www.microsoft.com/data>.
    2) Versioning-
    To determine the version of the Oracle8 ODBC driver you should be using, simply match up the first three digits of the ODBC driver version and the Oracle client version (see chart Mr. Oehl posted). The 8.1.5.6 ODBC driver should go on an 8.1.5.x.x system, the 8.1.6.1 ODBC driver should go on an 8.1.6.x.x system. If you have an Oracle7 client, you'll need one of the version 2.5x Oracle7 ODBC drivers.
    Any ODBC driver should connect with any Oracle database. No need to match anything up there. You can determine the version of the database you're connected to by calling the ODBC function SQLGetInfo with the InfoType SQL_DBMS_VER.
    A little elaboration on version numbers
    - Oracle versions are generally 5 digits (i.e. 8.0.5.2.4, 8.1.5.1.1). The versions that you get on CD's are generally (always?) x.x.x.0.0 versions (i.e. 8.1.5.0.0, 8.1.6.0.0). The last two digits are incremented by periodic patchkit releases <ftp://oracle-ftp.oracle.com/server/patchsets/wgt_tech/server/windowsNT/>
    - ODBC drivers must report versions in 4 parts, each part having 2 digits (i.e. 8.01.05.05). Since we're lazy about typing extra 0's, we simplify this and just refer to the 8.1.5.5 ODBC driver.
    - The 8.1.5.x ODBC driver is built with the client libraries that ship with Oracle 8.1.5.x.x, the 8.1.6.x ODBC driver is built with the client libraries that ship with Oracle 8.1.6.x.x, etc. This is why I said above that you need to match the first 3 version numbers between Oracle client and ODBC driver to determine which to use.
    I hope this is more enlightening than confusing...
    Justin Cave
    ODBC Development
    null

  • Problem with Oracle XE client (erreur 126 in ODBC driver)

    Hello
    When I want connect to the server with SQL (XE Client) I wrote :
    SQL> connect SYS
    password : *********
    ERROR
    ORA-12560: TNS: erreur d'adaptateur de protocole
    SQL>
    When I want to install ODBC Driver (Oracle in XEClient), the system return an error : "System error code 126"
    Whitch is the problem ?
    Please help me !
    Regards,
    Alexandre

    Hello,
    Thank you for your help,
    XE is installed on Linux Server (192.168.19.30) and is started
    XPClient is installed on Windows XP Client (192.168.19.100)
    I can connect to XE using http://192.168.19.30:8080/apex
    The problem is that I can't use ODBC driver
    In other hand, I can connect to the server in SQL command line, using :
    CONNECT SYSTEM/*******@192.168.19.30
    I saw in Oracle documentation that in Windows it's necessarie to use environnement variables to setup XEClient.
    Do you have any idea on how to configure client and ODBC driver ?
    Alexandre

  • Java.sql.SQLException: [TimesTen][TimesTen 6.0.1 ODBC Driver][TimesTen]TT08

    Hi,
    I have installed TimesTen 6.0.1 and created Server/Client DSN's and trying to connect from a simple Java File using Client DSN, but encounter the following error. What could be the reason
    java.sql.SQLException: [TimesTen][TimesTen 6.0.1 ODBC Driver][TimesTen]TT0830: Cannot create data store file. OS-detected error: The system c
    annot find the path specified. -- file "db.c", lineno 7188, procedure "sbDbCreate()"
    at com.timesten.jdbc.JdbcOdbc.createSQLException(JdbcOdbc.java:6268)
    at com.timesten.jdbc.JdbcOdbc.standardError(JdbcOdbc.java:6391)
    at com.timesten.jdbc.JdbcOdbc.standardError(JdbcOdbc.java:6356)
    at com.timesten.jdbc.JdbcOdbc.SQLDriverConnect(JdbcOdbc.java:3822)
    at com.timesten.jdbc.JdbcOdbcConnection.connect(JdbcOdbcConnection.java:1714)
    at com.timesten.jdbc.TimesTenDriver.connect(TimesTenDriver.java:362)
    at com.timesten.jdbc.TimesTenDriver.connect(TimesTenDriver.java:218)
    at java.sql.DriverManager.getConnection(DriverManager.java:512)
    at java.sql.DriverManager.getConnection(DriverManager.java:193)
    at Example.main(Example.java:20)
    Thanks in Adv
    Venkata

    It looks like you encountered a permission problem. Can you share the details of what operation you were trying to do, your connection and DSN settings and configuration file?
    - scheung

  • ISE Alarm : Warning : Session directory write failed : [TimesTen][TimesTen 11.2.2.2.0 ODBC Driver][TimesTen]TT0846: Data store connection invalid or not current -- file "dbAPI.c"; lineno 7475; procedure "sb_connLatchAcquire"

    I got this message about 20 times:
    Log Collection Error
    Details :
    Session directory write failed : [TimesTen][TimesTen 11.2.2.2.0 ODBC Driver][TimesTen]TT0846: Data store connection invalid or not current -- file "dbAPI.c"; lineno 7475; procedure "sb_connLatchAcquire"
    Description :
    The ISE M&T collector process is unable to persist the audit logs generated from the Policy Service nodes
    Suggested Actions :
    This will not impact the actual functionality of the Policy Service nodes, Please contact TAC"
    It started after I've added a third DNS Server and did not reboot the whole appliance, but just all services....
    Does anyone know what really might triggered this? After rebooting ISE everything was ok again. But I couldn't find anything in ISE's logs
    KR

    I did a reboot and the problem was solved. I got the message when I tried to stop ISE while all services were just about to get up.
    ISE Version: 1.2.0.899

  • ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified in windows server 2008 r2

    ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified in windows server 2008 r2.I made a application in asp.net c#.I am using ODBC connection.When I deployed my application in windows server2008 r2.There
    is no Microsoft ODBC driver shown in ODBC Data source administrator.Then I go to the C:\Windows\SysWOW64 and open  Odbcad32.exe and add Microsoft ODBC2 driver for Oracle and when I run my application I got following error
    ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
    I am using follwoing string
     <connectionStrings>
    <add name="theconnetion" connectionString="DSN=abdb;UID=abc;PWD=xyz"/>
     </connectionStrings>
    Guide me What I do?

    Did you add a System DSN or a User DSN? If you added a User DSN from your own login, the asp.net application will not be able to use it unless its application Pool in IIS is configured to run under the same credentials that you used for creating
    the DSN. It's better if you add a System DSN.
    Also, be careful to ensure that you are using a 64 bit DSN, unless you configure the application to run in 32 bits. If the 64 bit application attempts to use the 32 bit driver you get the same error message "Data source name not found and no default
    driver specified". See this KB article:
    http://support.microsoft.com/kb/942976/en-us

  • Incompatibility of 8.1.6 Database and 8.1.7 ODBC driver

    I am attempting to connect to an Oracle 8.1.6 database using a 8.1.7 ODBC driver and MS vb 6 adodb. I can successfully connect to the database, but when I try to open a table, the program hangs.
    In reviewing the trace log, the last few lines of the file look like the following...
    VB6 118-46     ENTER SQLExecDirectW
              HSTMT 031C2000
              WCHAR * 0x030CDF50 [      25] "select * from BARTRESULTS"
              SDWORD 25
    where "BARTRESULTS" is the name of the table.
    I read a thread discussing incompatibilites between versions, and is this one of those cases? And if I need to be using an 8.1.6 ODBC driver, is there a way to uninstall the 8.1.7 ODBC driver, and install the 8.1.6 driver? I attempted to do this using the Oracle Universal Installer, and it didn't seem to work.
    Any help is greatly appreciated. Thanks.

    Any driver should work with an 8.1.6 database. You'll want the driver that corresponds to the version of your Oracle client (i.e. 8.1.5.6 on an 8.1.5.x.x client, 8.0.5.9 on an 8.0.5.x.x client).
    Justin Cave
    ODBC Development

  • Oracle 8.1.6 and 8.1.61 ODBC Driver Access Violation

    Using Oracle ODBC for Windows to Oracle 8.1.6 database to get a list of the tables/views in the database.
    The following code worked on 8.0.4, 8.0.5, and 8.1.5 databases and their respective ODBC Drivers. It gives me an access violation with 8.1.6.
    The 8.1.61 ODBC Drivers was able to run the code once, but when I ran it a second time, it gave me an access violation.
    The access violation occurs on the SQLFetch somewhere in the middle of the loop.
    Here is the abbreviated sample code:
    SQLAllocHandle(SQL_HANDLE_STMT, m_hdbc, &hCursor);
    SQLSetStmtAttr (hCursor, SQL_ATTR_CURSOR_TYPE, (SQLPOINTER) SQL_CURSOR_STATIC, 0);
    SQLTables(hCursor, NULL, 0, NULL, 0, NULL, 0, NULL, 0);
    SQLBindCol(hCursor, 1, SQL_C_CHAR, sQualifier, sizeof(sQualifier), &indQualifier);
    SQLBindCol(hCursor, 2, SQL_C_CHAR, sOwner, sizeof(sOwner), &indOwner);
    SQLBindCol(hCursor, 3, SQL_C_CHAR, sTableName, sizeof(sTableName), &indTableName);
    nReturn = SQL_SUCCESS;
    while ((nReturn = SQLFetch(hCursor) ) == SQL_SUCCESS)
    // after a 100 or so iterations, it crashes
    nReturn = SQLFreeHandle(SQL_HANDLE_STMT, hCursor);
    Please let me know if there are other ODBC drivers I could use, or if 8.1.62 will fix this.
    null

    I am using Visual Basic as front end to oracle 8 i as the
    database.When I am connecting to database from Visual Basic
    I am getting an error SQl Handle failed. When i am tring to
    create a DSN through Microsoft Oracle ODBC Driver I am getting
    an Error "The Oracle(tm) client and networking components were
    not found. These componenets are supplied are supplied by Oracle
    Corporation and are part of The Oracle Version (or greater)
    client software installation. You will be unable to use this
    Driver until these componenst have been installed" . Please give
    me a solution to his as it is critical to me.
    Please email the solution or tips at [email protected]

  • SQL Server Reporting Services: ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified

    Hey everyone, So I am trying to get a report onto the server, and in BIDS I kept getting a login screen repeating over and over when I tried to deploy my report, so I tried to upload the file at http://<servername>/Reports This worked, but then trying
    to run this report from http://<servername>/Reports did not work either because "An error has occurred during report processing. (rsProcessingAborted) Cannot create a connection to data source 'FTYDataSource'. (rsErrorOpeningConnection) For more information
    about this error navigate to the report server on the local server machine, or enable remote errors" Anyways I tried to add a New Data Source (which I would use in the report) at http://<servername>/Reports, type ODBC, with the connection string Dsn=blah_blahblah.
    I try to test the connection here and get the error ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified This is really getting old fast, everything I try, a new error comes up. Granted I am new at this,
    but this still should not be this troublesome. Does anyone have any ideas on what could FINALLY allow me to just put a report out onto the server?!? THANK YOU in advance for ANY help.

    Hi,
    Please try setting the credentials of the datasource.
    1. Double click and open the datasource in your project.
    2. Click on the credentials tab, and click on option button 'Use this username and password'
    3. Enter the username and password to connect to the datasource
    4. Deploy or upload the datasource to the report server and try accessing the reports.
    Hope this helps.
    Please click "Mark as Answer" if this resolves your problem or "Vote as Helpful" if you find it helpful.
    BH

  • I want to use the SQL Toolkit of NI and SQL Server as my databasis on a server. Do I need to install a client in each computer I want to handle the data into SQL tables or I need only a ODBC driver?

    I want to use the SQL Toolkit of NI and SQL Server as my databasis on a server. Do I need to install a client in each computer I want to handle the data into SQL tables or I need only a ODBC driver?

    You only need the ODBC driver on each computer. If you are distributing the SQL Toolkit app as an executable and do not install the whole toolkit on each computer, you'll need the SQL Toolkit support files. This is about a dozen files. You can get the list at http://digital.ni.com/public.nsf/websearch/b814be005f9da9258625658700550c75?OpenDocument.

  • Download and installing oracle odbc driver alone

    Hi all,
    I wanted to find out if I can download just the oracle odbc driver and install in without actually installing oracle database or client version on windows PC.
    thank you

    You will need to have some Oracle software on your machine for the Oracle ODBC driver to function.
    If you can use the 10g client, you can install the 10g Instant Client and the ODBC driver. The Instant Client is a minimal set of libraries that allow components like the Oracle ODBC driver to work. The 10g client, though, is not certified to connect to databases earlier than 8.1.7.
    If you have to use an earlier version, you have to install the full Oracle client, which is not a small install, to be able to use the Oracle ODBC driver.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

Maybe you are looking for