ODBC Version Query
Hi everyone, I hope somebody can help me clear up some confusion I'm having.
I have a web page using iHTML (similar to asp) connecting to an oracle database via odbc with oracle odbc driver version 8.00.05.00. Everything works fine with this.
I'm testing a new server that has oracle odbc driver version 8.01.07.00. I keep receiving the following error:
[Oracle][ODBC][Ora]ORA-02179: valid options: ISOLATION LEVEL { SERIALIZABLE | READ COMMITTED }
Can anyone help me with this please? Many thanks.
You do need to ensure that the Oracle client and Oracle server are compatible, but that is generally pretty easy to accomplish. Unless you are trying to cross more than one major release (i.e. 9.2 client to a 7.3.4 database), you're pretty safe there.
You could try downloading and installing the latest 8.1.7.x Oracle ODBC driver from OTN on the machine with the 8.1.7 Oracle client (I believe the last ODBC patchset was 8.1.7.10), but I don't have particular confidence that that will solve the problem. If it doesn't, we can do an ODBC trace to focus in on the issue, but installing a new driver is a much easier process, so that probably ought to be the first step.
Justin
Distributed Database Consulting, Inc.
http://www.ddbcinc.com/askDDBC
Similar Messages
-
Powerpivot Report 2010 - OLE DB or ODBC error: Query timeout expired; HYT00
0
I have report already developed by someone in powerpivot 2010 and deployed to sharepoint in powerpivot gallery library. The data source for this report is SQL Server 2008 r2. I have set the refresh options in sharepoint to run after business hours during
week end. When I check the refresh history it shows this error message "OLE DB or ODBC error: Query timeout expired; HYT00. An error occurred while processing the 'xxx' table. The current operation was cancelled because another operation in the
transaction failed..
I have tried to run the "Also refresh as soon as possible " just to check but same error message is shown.
This is the detailed error message details:
03/02/2014 21:06:55 03/02/2014 22:08:15 01:01:20 Failed
OLE DB or ODBC error: Query timeout expired; HYT00. An error occurred while processing the 'xxx' table. The current operation was cancelled because another operation in the transaction failed
Could anyone guide me on this issue? Truly appreciate your help in advance.Hi asritha,
I would suggest you take a look at the following articles regarding how to configure PowerPivot data refresh in SharePoint Server:
Configure and Use Stored Credentials for PowerPivot Data Refresh:
http://technet.microsoft.com/en-us/library/ee210671(v=sql.105).aspx
Configure and Use the PowerPivot Unattended Data Refresh Account:
http://technet.microsoft.com/en-us/library/ff773327(v=sql.105).aspx
Note: Please ensure that the account have sufficient permission access to your data source.
In addition, please elaborate your PowerPivot data soure with more detail. If you are using SSAS cube, please try to increase "ExternalConnectionTimeout" property default value to see if this helps. Here is the similar thread for your reference,
please see:
http://social.technet.microsoft.com/Forums/en-US/35b26c06-9e6d-41e5-ae44-bfb1233510ac/ssas2008-ole-db-error-ole-db-or-odbc-error-query-timeout-expired-hyt00?forum=sqldatamining
Regards,
Elvis Long
TechNet Community Support -
Cannot use Flashback Versions Query in Oracle 10g
If I want use Flashback Versions Query for one Table in my Database 10.1.0.4 then I receive follow error message:
500 Internal Server Error
java.lang.RuntimeException: options is null
at oracle.sysman.emSDK.jsp.ListBean.applyAttributes(ListBean.java:70)
at oracle.sysman.emSDK.jsp.ShuttleBean.render(ShuttleBean.java:41)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.laf.xhtml.XhtmlLafRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
at oracle.cabo.ui.laf.xhtml.RowLayoutRenderer.renderChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.laf.xhtml.XhtmlLafRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
.... and so on
Can any of you help me?At what stage did you get this error?. Have you already selected the type of Flash Back Versions Query you want e.g Specifying type of Point in Time (Row Evaluation, Timestamp or SCN) or just when you select from the Action?
-
Doubt regarding flashback versions query
I am working with Oracle 10g database on Oracle Enterprise Linux
I was trying this query both as sysdba and connected as the respective user .
When connected as sysdba I was of course appending schema name to the table name while running the query so there were no errors.
SELECT VERSIONS_STARTTIME, VERSIONS_ENDTIME
FROM emp_data
VERSIONS BETWEEN TIMESTAMP MINVALUE AND MAXVALUE
ORDER BY VERSIONS_STARTTIME ;
VERSIONS_STARTTIME VERSIONS_ENDTIME But unfortunately the query is returning null .
Let me know if any parameter has to be enabled for the query to work or what went wrong. The table of course has many transactions running and I was able to get the change through ora_rowscn but flashback versions query was the one not working.
Let me know if I have missed anythingPrabu,
If the transaction is still going on means they are not yet committed than Versions query won't show you anything.Also if you have surpassed the Undo_retention andhave most probably lost the required undo data,you wont be able to get any output from it.So check these two things.There are no special parameters required to use this feature except for automatic undo management and Undo retention.
In the meantime,you may also want to look at this link for a simple description of this and other flashback features,
http://www.oracle-base.com/articles/10g/Flashback10g.php
HTH
Aman.... -
Flashback query works, but not flashback versions query
This is a test database (Oracle10g 10.1.0.5), not in archivelog mode. I deleted one row 2 hours ago. I can still use flashback query:
select * from tm_instances as of timestamp to_timestamp('STARTTIME_HERE') to view this row. But I can't use the following flashback versions query:
SELECT versions_startscn, versions_starttime,
versions_endscn, versions_endtime,
versions_xid, versions_operation from tm_instances VERSIONS BETWEEN TIMESTAMP to_timestamp('STARTTIME_HERE') and MAXVALUE
It gave the following error:
ORA-30052: invalid lower limit snapshot expression
So I guess flashback query works better than flashback versions query?
undo_retention is set to 900 by default here.
Thanks,
Haicurrently function returns all mydate rows, i just want mydesired date rowsCheck if there is a column in the table with the same name as the function parameter. It's the most probable reason of such DML operations behaviour in PL/SQL procedures and function.
Rgds. -
Flashback query vs. flashback versions query
I have noticed that I can do a regular flashback query as far back as I have UNDO data available for the query, as long as long as the table definition has not changed. Flashback versions query, however, is limited to the UNDO retention parameter.
So, for example, if my UNDO_RETENTION parameter is set to the default 900 seconds, I can only go back 15 minutes in time, even if the regular flashback query shows data in the table from 1 hour ago.
Why does Oracle hold to the the retention parameter for versions query, but let you go back farther for the regular query?Flashback query shows 7th Nov value and the next query shows 8th nov value..
thanks,
baskar.l -
Hi
Please explain me the advantages of Flashback Versions Query in 10g.I read 2 or more articles but still doubtful.It will be a great help if anybody clarify my doubt.
Thanx & cheers
Antonyhi
i want to give a example for better understanding on flashback version query
SQL> select * from a;
NO
1
2
3
SQL> delete from a where no=2;
commit;
1 row deleted.
SQL>
Commit complete.
SQL>
SQL> select * from a;
NO
1
3
SQL> r
1 SELECT versions_xid AS XID,
2 versions_startscn AS START_SCN,
3 versions_endscn AS END_SCN,
4* versions_operation AS OPERATION,no from a VERSIONS BETWEEN SCN MINVALUE AND MAXVALUE
XID START_SCN END_SCN O NO
0005002C0000045B 205513026 D 2
0009000D00000487 205512880 I 3
0009000D00000487 205512880 205513026 I 2
0009000D00000487 205512880 I 1
verions of rows between two times and transaction that changed the rows
use this xid with flashback_transaction_query to get the undo_sql for revert the changes
SQL> select LOGON_USER,UNDO_CHANGE#,OPERATION,UNDO_SQL from flashback_transaction_query where XID='0005002C0000045B';
LOGON_USER UNDO_CHANGE# OPERATION UNDO_SQL
SCOTT 1 DELETE insert into "SCOTT"."A"("NO") values ('2');
SCOTT 2 BEGIN
Thanks and Regards
Kuljeet Pal Singh -
Difference between Flashback Versions Query vs Flashback Transaction Query
plz somebody can clearly tell me difference between
--Flashback Versions Query
--Flashback Transaction QueryHi,
I was able to test the data given by you
CREATE TABLE test1(a number);
INSERT INTO test1 values(1);
INSERT INTO test1 values(3);
COMMIT;
UPDATE test1 SET a=10 WHERE a=1;
COMMIT;
ALTEr TABLE test1 ENABLE ROW MOVEMENT;
INSERT INTO test1 values(1);
INSERT INTO test1 values(3);
COMMIT;
ALTEr TABLE test1 ENABLE ROW MOVEMENT;
SELECT * FROM test1 VERSIONS BETWEEN TIMESTAMP
TO_TIMESTAMP('2011-07-25 15:50:00', 'YYYY-MM-DD HH24:MI:SS') AND
TO_TIMESTAMP('2011-07-25 15:56:00', 'YYYY-MM-DD HH24:MI:SS');
A
3
1
10
3
I didnt get any error. Please check again. -
No flashback versions query and flashback transaction query tools on EM?
No Flashback Versions Query and Flashback Transaction Query tools on EM Console?
How to do Flashback Versions Query work and Flashback Transaction Query on EM Console?No Flashback Versions Query and Flashback Transaction
Query tools on EM Console?WOrks on mine.
How to do Flashback Versions Query work and Flashback
Transaction Query on EM Console?Part of the Maintenance , Recovery wizard. Not intended to be a casual query tool. -
Flashback Versions Query vs Flashback Querya
Hi,
When I run the following Flashback Query, it shows that employee number 101 has salary of 17000 at "2009-11-07 11:30:00":
SQL> SELECT employee_id, department_id, salary FROM employees
AS OF TIMESTAMP
TO_TIMESTAMP ('2009-11-07 11:30:00 PM', 'YYYY-MM-DD HH:MI:SS AM')
WHERE employee_id=101;
EMPLOYEE_ID DEPARTMENT_ID SALARY
101 90 17000However, when I run the following Flashback Versions Query on the same row,
it doesn't show the row status when the salary was 1700.
SELECT
VERSIONS_STARTTIME AS START_TIME,
VERSIONS_ENDTIME AS END_TIME,
versions_operation AS OPERATION,
last_name,
salary
FROM EMPLOYEES
VERSIONS BETWEEN TIMESTAMP MINVALUE AND MAXVALUE
WHERE employee_id = 101;
START_TIME END_TIME O LAST_NAME SALARY
08-NOV-09 09.45.59 AM U Kochhar 19500
08-NOV-09 09.45.38 AM 08-NOV-09 09.45.59 AM U Kochhar 19000
08-NOV-09 09.45.38 AM Kochhar 18000
Why the Flashback Versions Query doesn't display status of the rows retreived by the Flashback Query although both of them depend on the Undo?
Thanks in advance.Flashback query shows 7th Nov value and the next query shows 8th nov value..
thanks,
baskar.l -
Oracle ODBC version error on windows server 2008 64 bit
We had installed oracle 10g standard edition on windows server 2008 64 bit. After one hour use of ODBC connection, we are getting a error message like 'Oracle client and networking components were not found. These components are supplied by Oracle Corporation and are part of the Oracle Version 7.3.3 or later client software installation. Provider is unable to function until these components are installed'
Find the link for error message. http://www.google.co.in/imgres?newwindow=1&biw=1600&bih=1075&tbm=isch&tbnid=zc1Vas4O9Eqj4M:&imgrefurl=http://social.tech…
Please give solution for the said issue. Thanks in advance.SAP said it is Oracle not support windows server 2008.
-
Is It POSSIBLE to change the Technical Name of Z-version Query
Hi Friends ,
I was changed all quereis and cube from standard version to Z version.
For queries, by using rszc , i was changed to Zversion,Now again is it
possible to change the Technical Name of Zversion Query ?
If possible , can you please tell me the process ?Hi Hameed,
This may be the reason you are getting an error.
The target InfoCube, the InfoCube for the query copies, must contain all the InfoObjects of the source InfoCube (InfoCube of the original queries).
The another reasons may be the copying of queries within the same cube shouldn't be done by RSZC.
It's better to approach the Bex Query designer.
Hope you understood..
Check the link below for more information:
Re: How to copy query elements without Bex
http://www.bi-expertonline.com/article.cfm?session=&id=2055
Re: copy queries + variants + workbooks -- RSZC ?
Regards,
Ravi Kanth
Edited by: Ravi kanth on Jun 10, 2009 10:03 AM -
Flashback Version Query Does Not Return Rows
I followed the example given in the documentation; http://download-uk.oracle.com/docs/cd/B19306_01/appdev.102/b14251/adfns_flashback.htm#sthref1478
but even I connect as sys versions BETWEEN query no rows returns, any comments will be welcomed.
Thank you,
Best regards.
Tonguc
Test scenerio;
conn hr/hr
-- drop table flashback_test purge ;
create table flashback_test ( c1 number, c2 date ) ;
insert into flashback_test values ( 1, sysdate ) ;
commit ;
update flashback_test set c1 = c1 * 2 ;
commit ;
update flashback_test set c1 = c1 * 2 ;
commit ;
delete flashback_test ;
commit ;
conn sys/passwd as sysdba
SELECT versions_xid xid,
versions_startscn start_scn,
versions_endscn end_scn,
versions_operation operation,
c1,
c2
FROM hr.flashback_test versions BETWEEN TIMESTAMP minvalue AND maxvalue
ORDER BY versions_starttime;
SELECT xid, undo_sql
FROM flashback_transaction_query
where undo_sql like '%HR%FLASH%' ;
The results;
Connected to Oracle Database 10g Express Edition Release 10.2.0.1.0
Connected as hr
Table dropped
Table created
1 row inserted
Commit complete
1 row updated
Commit complete
1 row updated
Commit complete
1 row deleted
Commit complete
Connected to Oracle Database 10g Express Edition Release 10.2.0.1.0
Connected as SYS
XID START_SCN END_SCN OPERATION C1 C2
XID UNDO_SQL
07002A0003010000 update "HR"."FLASHBACK_TEST" set "C1" = '1' where ROWID = 'AAADiFAAEAAAAiXAAA';
08000E0027010000 insert into "HR"."FLASHBACK_TEST"("C1","C2") values ('4',TO_DATE('04/01/2007', '
0900080013010000 delete from "HR"."FLASHBACK_TEST" where ROWID = 'AAADiFAAEAAAAiXAAA';
0A0006000A010000 update "HR"."FLASHBACK_TEST" set "C1" = '2' where ROWID = 'AAADiFAAEAAAAiXAAA';
Also tried with Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 the same results..
Message was edited by:
TongucYHi Tonguc
I Think there is something wrong with your configuration. If you want i can share the parameter file with you.
hr@XE> conn hr/hr
Connected.
hr@XE> -- drop table flashback_test purge ;
hr@XE> create table flashback_test ( c1 number, c2 date ) ;
Table created.
hr@XE> insert into flashback_test values ( 1, sysdate ) ;
1 row created.
hr@XE> commit ;
Commit complete.
hr@XE>
hr@XE> update flashback_test set c1 = c1 * 2 ;
1 row updated.
hr@XE> commit ;
Commit complete.
hr@XE>
hr@XE> update flashback_test set c1 = c1 * 2 ;
1 row updated.
hr@XE> commit ;
Commit complete.
hr@XE>
hr@XE> delete flashback_test ;
1 row deleted.
hr@XE> commit ;
Commit complete.
hr@XE> connect sys/password as sysdba
Connected.
sys@XE> SELECT versions_xid xid,
2 versions_startscn start_scn,
3 versions_endscn end_scn,
4 versions_operation operation,
5 c1,
6 c2
7 FROM hr.flashback_test versions BETWEEN TIMESTAMP minvalue AND maxvalue
8 ORDER BY versions_starttime;
XID START_SCN END_SCN O C1 C2
07001F0055010000 1038838 D 4 13/03/2007
02001D0069010000 1038835 1038838 U 4 13/03/2007
04001F0039010000 1038832 1038835 U 2 13/03/2007
1038832 1 13/03/2007
sys@XE> SELECT xid, undo_sql
2 FROM flashback_transaction_query
3 where undo_sql like '%HR%FLASH%' ;
XID
UNDO_SQL
02001D0069010000
update "HR"."FLASHBACK_TEST" set "C1" = '2' where ROWID = 'AAADskAAEAAAAM2AAA';
04001F0039010000
update "HR"."FLASHBACK_TEST" set "C1" = '1' where ROWID = 'AAADskAAEAAAAM2AAA';
07001F0055010000
insert into "HR"."FLASHBACK_TEST"("C1","C2") values ('4',TO_DATE('13/03/2007', 'DD/MM/RRRR'));
08002D0074010000
delete from "HR"."FLASHBACK_TEST" where ROWID = 'AAADskAAEAAAAM2AAA';
sys@XE> select version from v$instance;
VERSION
10.2.0.1.0
sys@XE>
init file
xe.__db_cache_size=415236096
xe.__java_pool_size=4194304
xe.__large_pool_size=12582912
xe.__shared_pool_size=155189248
xe.__streams_pool_size=8388608
*.audit_file_dest='C:\oraclexe\app\oracle\admin\XE\adump'
*.background_dump_dest='C:\oraclexe\app\oracle\admin\XE\bdump'
*.compatible='10.2.0.1'
*.control_files='C:\oraclexe\oradata\XE\control.dbf'
*.core_dump_dest='C:\oraclexe\app\oracle\admin\XE\cdump'
*.cpu_count=2
*.db_block_checking='FALSE'
*.db_name='XE'
*.DB_RECOVERY_FILE_DEST_SIZE=10G
*.DB_RECOVERY_FILE_DEST='C:\oraclexe\app\oracle\flash_recovery_area'
*.dispatchers='(PROTOCOL=TCP) (SERVICE=XEXDB)'
*.job_queue_processes=4
*.open_cursors=300
*.os_authent_prefix=''
*.pga_aggregate_target=335544320
*.remote_login_passwordfile='EXCLUSIVE'
*.sessions=20
*.sga_target=570M
*.shared_servers=4
*.undo_management='AUTO'
*.undo_tablespace='UNDO'
*.user_dump_dest='C:\oraclexe\app\oracle\admin\XE\udump'
Message was edited by:
coskan -
Hi, I live in united arab emirates and I just rec'd my ipad2 from the UAE Online Apple Store today. My wife ordered it for me for Facetime.
I have a few questions:
1. Will it have Facetime installed on it or not.
2. Also, how do i find out what operating system is installed on it iOS 4.3.1, 2, 3 or 4 or ?
3. Can I find out from the packaging or will i need to run it first time?
Thanks
KhalidNo FaceTime in the UAE. It's not available in the UAE so the iPads sold there do not have it.
Settings>General>About>Version - on the iPad to see the software
I do not recall if the version is printed on the box -
3.x version query how to hide in the report output
Hi,
In 3.5 query output, how to hide a row/column which in the report layout.
Regards,
HanishaHi Hanisha,
If I understood your question correctly that you are looking for hiding the Row or Coloum means either charactertic or key figure in the report layout.
To hide the any kind of key figures (usually columns) you will have to Right Click KF - Display option always hide.
if you wanted to hide Characteristic (Rows), there will be no option to hide, but you can remove the drill down of the characteristic so that it will not be appeared.
Maybe you are looking for
-
Maximum disk size for Z61m?
I want to replace the original 80 MB HDD of my Z61m with a faster and larger one. What't the maximum disk size the controller/BIOS can cope with? Gurk Thinkpad Tablet Thinkpad T431s ThinkPad Yoga S240 with OneLink Dock Solved! Go to Solution.
-
ClassCastException in oracle.sql.BLOB.createTemporary
Hi, I'm having a ClassCastException problem using the method oracle.sql.BLOB.createTemporary while trying to store a BLOB value (JDBC classes12.jar). The problem is quite clear - if I use the method with a dedicated database connection that specifies
-
RSS Vulnerability in Safari - Can we please get a patch for this
Disclosure of information vulnerability in Safari Posted on Sun, 11 Jan 2009 Last edited Wed, 14 Jan 2009 Note: The original version of this page contained a simple workaround for this issue which I believed would protect users against this problem.
-
How do I count all cells that have a date of today or before today?
Hi, I am using the following rule to count all cells in a range that contain today's date: =COUNTIF(D2:H2,TODAY()) What I would like to do is to extend this so that it counts all days that are either today or before today. I have tried a few methods,
-
Daqmx read.vi timestamp incorrect problem (storing the timestamp from start task)
Hello, I have a state machine with 1st state: configure DAQ where i have [daqmx create channel.vi --> daqmx timing sample clock--> DAQmx start trigger--> daqmx start trigger] connected in order sample clock in continuous mode, 10000 samples to read a