PL/SQL error while querying BLOBs. "A query with LOB's require OCI8 mode, but OCI7 mode is used" - blob

I have a table where there is a column defined as BLOB. When i try to query the table, i am not able to view anything and a message is displayed saying "A query with LOB's require OCI8 mode, but OCI7 mode is used". I have unchecked the box "Force OCi7 mode on OCI8", saved and restarted PL/SQL developer and still the error persists. I am using PL/SQL version 5.1.3.704 and OCI: Version 8.1.
Can someone please help?

You need to Upgrade to the current version for Oracle.
This version can be downloaded by going to: https://support.quest.com/SUPPORT/index?page=downloads.
Hope this helps.

Related

SQL - Attempted to read or write protected memory

I'm trying to use a functions on the SQL SSMS2014 and I get the error on the title.
I can create new tables and databases no problem if i do it with a new query, but afterwards i can't edit or use the design function without getting that error on any of the databases that i have.
Most of the similar errors i found were related to connection to the database, but none of the fixes on those worked for me.
My guess is that the error message you are getting is:
the backend version is not supported to design database diagrams or tables
Solution:
This is commonly reported as an error due to using the wrong version of SMSS. Use the version designed for your database version. You can use the command select ##version to check which version of sql server you are actually using. This version is reported in a way that is easier to interpret than than shown in the Help About in SMSS.
Using a newer version of SMSS than your database is generally error free, i.e. backward compatible.

I am getting a DB collation error when loading data

Hi I am loading the data from MySQL staging to MySQL destination.
I get this error and it says Illegal mix of collations (latin1_swedish_ci, COERCIBLE) and (latin1_german1_ci, COERCIBLE) for operation '='
Does this has to do anything with Pentaho. Because the same runs fine in Production server but gives error in Dev server.
Probably not Pentaho since it is working in one area, but not another. Try:
Moving the code from your prod box to your dev box to make sure you didn't introduce any changes unintentionally.
Are your MySQL instances the same versions? Are they supported by Pentaho? What about your drivers? And are the drivers all stored in the correct places? Make sure that you don't have two of the MySQL drivers in the different folders to avoid conflicts.
Run the job in row level mode to see the most messages about what is occurring. It could give you important clues.

Checking Oracle Host address for TNS-3505 error

I have look everywhere for this issue. And after six hours yesterday and an hour today I decided to break down and ask the good fellows of stack overflow.
I set up Oracle 10.2.0 (which was an uphill battle) and finally got sql loader working, which I need because TOAD takes 15+hours to load 400k records. So my question is not how to resolve this error, I know the error. I have read nearly 4 tutorials on fixing the error. I want to know, since my TOAD is connected to the database just fine, is there a way I can get all the info from TOAD to populate/verify that my TNSNAMES.ora and sqlnet.ora files are correctly configured? I copy and pasted the information but it won't work anyway.
Also, aside from those two files, are there any other issues that could be preventing this, as a bit of background, I had to reinstall oracle 10g because the admin tools were not in place for the sql loader. Since the sql loader runs, I figured the install is just fine. If you need more info from me comment and I will edit.
Thanks guys,
Instead of using a tns name you can try connecting using ezconnect:
sqlldr username/password#//localhost:1521/orcl
If this solves the issue the tns name used could not be resolved properly. As you say you had to reinstall oracle to get the admin tools I suspect you might be looking at the tnsnames.ora file from the wrong oracle home.

Oracle SQL Developer 3.0.04 Freezes when viewing table data

I'm using Oracle SQL Developer 3.0.04. Trying to connect to a remote DB. Don't have any issues with database connection, it connects.
But when trying to view a selected tables rows a small progress bar within a small dialog box titled "Display Results" appears saying "Waiting for Checking if Object is Editable" and the progress is stuck. Cannot see any data of the selected table.
I tried to export the schema and data, but it freezed at once. So I closed SQL Developer.
Tried to attempt that again but now cannot even view the tables details.
Used TOAD in another machine and connected using that, no issue then the table listed all the data. Checked on the remote machine using putty and "sqlplus" to connect and the data showed as expected.
So that tells me that something in my local machine is wrong. Cannot connect using SQL Developer. Has anyone out there faced similar issue? please any idea on this matter?
Thanks
Did you try connecting to any other database, remote and local ? Does this happen with every database or only one connection? Perhaps something is wrong with that installation folder of SQL Developer, perhaps something got corrupt while it was stuck. Perhaps try to download the latest version of SQL Developer from this link and try again.

Db2 database creation problem

I've just installed DB2 v8.1.18.980. Now I try to create new database. I'm getting the error with the following sql codes:
sqlcode : -902
sqlstate : 58005
Unfortunately the error itself in Russian, as a result, I cannot paste it here. Official site says the following about the problem:
"The statement cannot be processed. The application program is not permitted to issue additional SQL statements. For example, a recovery routine associated with the application program may not issue additional SQL statements.
Programmer response
Rebind the failing application program and try again. If the problem persists, examine your DBRM and make sure it matches your program."
http://publib.boulder.ibm.com/infocenter/dzichelp/v2r2/topic/com.ibm.db2z9.doc.codes/src/tpc/n902.htm
But, it's not clear to me. Any ideas, what can be wrong and how to resole it?
I'm using Windows 7 Ultimate if it may be an issue.
The documentation you linked to is for db2 v9 for z/os, not db2 v8 for Windows. So that's the first problem.
The documentation for v8 has this to say about SQL 902:
A system error (reason code = reason-code) occurred. Subsequent SQL statements cannot be processed.
Explanation:
A system error occurred.
User Response:
Record the message number (SQLCODE) and reason code in the message.
If trace was active, invoke the Independent Trace Facility at the operating system command prompt. Then contact your technical service representative with the following information:
Problem description
SQLCODE and embedded reason code
SQLCA contents if possible
Trace file if possible.
Federated system users: isolate the problem to the data source failing the request (refer to the Troubleshooting Guide to determine which data source is failing to process the SQL statement) and take the necessary diagnostic steps for that data source. The problem determination procedures for data sources vary, so refer to the applicable data source manuals.
sqlcode: -902
sqlstate: 58005
Which brings us to the second problem: it's asking you to contact IBM and open a ticket, and as far as I know v8 is out of support so it won't be that easy.
I think installing v9, v9.5 or v9.7 would be your best bet, unless you have a really compelling reason to stick with 8.