Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What if there is an ora-01013 error in oracle?

2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)05/31 Report--

Editor to share with you how to do ora-01013 errors in oracle, I believe most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!

During the test, a program connected through ODBC was found to have the following error:

[Oracle] [ODBC] [Ora] ORA-01013: user requested cancel of current operation

Free_Process_ID () execute SQL error: update process_status set USE_FLAG='N', PROCESS_HANDLE='0_' where PROCESS_ID='3'

The solution is as follows:

[@ more@] 1. Modify $ORACLE_HOME/network/admin/sqlnet.ora. Add or modify to:

Sqlnet.expire_time = 0

This turns off connection status detection for oracle.

two. Remove the 'Enable Query Timeout' check box' in ODBC management.

three. Add to the string that connects to the database in the program

QTO=F, which becomes the connection string: "; DSN=DB;UID=a;PWD=b;QTO=F"

four. Set SetQueryTimeout (0) on the Connection object. This is very convenient and easy to use

The above is all the contents of the article "what to do if there is an ora-01013 error in oracle". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report