Cannot view BLOB datatypes in Oracle10g
After a successful upgrade from Oracle8i to Oracle10g, I cannot view tables with BLOB datatypes. I'm getting the following error in SQL*PLUS upon quering the table:
SP2-0678: Column or attribute type can not be displayed by SQL*Plus
When i try to do the same thing from TOAD, I'm getting this error instead:
A Query with LOB's requires OC18 mode, but OC17 mode is used.
I have also tried to create a new table with BLOB datatype (since i thought the culprit was a broken migrated data) but I got the same error. What am I missing here????
Hy,
you never could view blobs via sqlplus
you only could use utl_raw.cast_to_varchar2 if there ist text inside your blobs.
regard
Martin
Similar Messages
-
Viewing blob datatype value using sql query
How can i view the text stored in a column of data type blob.
Thanks.using pl/sql developer sql window i want to see the result.Is there any way of converting blob type to varchar type
-
Cannot upload file to Oracle DB using blob datatype
Hi
I am uploading a file to Oracle DB through JAVA. I am inserting the file as
a BLOB datatype. I am using JRUN 4 . But when I am uploading the file to the DB through my application it is not showing anything in the DB. The samp application is working fine on my QA environment on the same server . Is there some setting that needs to be done . Could this be a problem with the version of classes12.zip.
Also when i try to view the file it is giving me this error
ORA-06550: line 1, column 13:
PLS-00201: identifier 'DBMS_LOB' must be declared
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
Please helpNot sure afterall if you mean that you are having a pblm uploading (from what kind of file BTW?) or viewing after upload?
Try these tutorials - I found them very helpful. Also, do you have the 'PL/SQL Programming' book from Oracle Press? That has an entire chapter devoted to LOB types.
[url http://www.oracle.com/technology/sample_code/tech/java/jsp/samples/blob/blob.html] How to deploy a PL/SQL function returning BLOB as Web Service
[url http://www.oracle.com/technology/sample_code/tech/java/sqlj_jdbc/files/advanced/LOBSample/LOBSample.java.html]LOBsample
HTH -
Cannot find BLOB Download Format Mask link.
Hello,
I cannot find the "BLOB Download Format Mask" link and I am using a current version of APEX. can someone tell me where I might find it? I have followed the instructions and see no such link under Page Item, Source. Please help!
Thanks
LEHScott,
Yes, I have created a form on a table and that table contains a column of datatype BLOB. I followed the APEX advanced tutorial for uploading and downloading files. Now I want to be able to display the (Blob) images that I have uploaded.
As I research the topic, I get the feeling that displaying the BLOB image can only be done in APEX 3.1 and up. Is this true? I have that version of APEX installed on my laptop and have successfully completed the "Defining and Viewing BLOB Data in Oracle Application Express 3.1" tutorial found here: http://www.oracle.com/technology/obe/apex/apex31nf/apex31blob.htm
But I could not do it on the company server that runs APEX 3.0
Even if I did get the approval to have the company APEX application upgraded to 3.1, there still is the issue of scaling the images so that they are not so large. I understand that there is a UTIL.APEX function "GET_BLOB_FILE_SRC" that would do this for me. I read the documentation at:
http://download.oracle.com/docs/cd/E10513_01/doc/appdev.310/e10499/api.htm#CHDICGDA
After reading it, I was still not clear as to how to use it correctly. Is there any documentation on how to implement this function in APEX?
I did find something that I was hoping would help me. The article is entitled "Show Blob of other table in APEX Form" by Dimitri Gielis can be found here: http://dgielis.blogspot.com/2008/07/show-blob-of-other-table-in-apex-form.html
I tried to import the file "blob_support.sql" application (on both APEX 3.0 and APEX 3.1 systems) but got errors. I'm not having very much luck here and would appreciate the help in pointing me in the correct direction.
Help!!
Thanks
LEH -
Unable to generate XML's for BLOB datatypes from Concurrent program
Hi All,
I've a requirement to print images on rtf layout. Images are uploaded by end user through attahments men
there are getting stored in fnd_lobs tables.
for printing blob images we need to convert them into CLOB and generate XML's.
I've done the conversion through a function and calling the function in the select query which is generating XML when i run it from toad.
SELECT xmlgen.getXml(
'SELECT file_id,mob_getbase64String(file_data) photo
FROM fnd_lobs
WHERE file_id = 2490481'
,0
) FROM dual;
But the same thing we i registered as concurrent program (SQL*Plus) the program is running into error.
Output file
The XML page cannot be displayed
Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.
Invalid at the top level of the document. Error processing resource 'https://dbtdev5i.oracleoutsourcing.com/OA_CGI/FNDWRR.e...
Input truncated to 17 characters
^
Log file
Concurrent Manager encountered an error while running SQL*Plus for your concurrent request 10868311.
Review your concurrent request log and/or report output file for more detailed information.
Can anyone help me through on how to bypass this error and generate XML's.
Thanks in Advance
JanaHi Priya..,
I have changed the query and registered in apps and now i am able to generate XML's of the blob image and the same is getting printed on the tempate..
DECLARE
v_colb CLOB;
v_query VARCHAR2(1000);
BEGIN
v_query := 'SELECT file_id,mob_getbase64String(file_data) photo
FROM fnd_lobs fl,
fnd_documents_vl fd
WHERE fd.media_id = fl.file_id
AND (fd.end_date_active IS NULL
OR fd.end_date_active > SYSDATE)
AND fd.security_type = 2
AND fd.security_id = fnd_profile.value(''GL_SET_OF_BKS_ID'')';
--FND_FILE.put_line( FND_FILE.LOG,v_query);
v_colb := xmlgen.getxml (v_query, 0);
--DBMS_OUTPUT.put_line (v_query);
FND_FILE.put_line( FND_FILE.OUTPUT,v_colb);
END;
/ -
BLOB datatypes in Transparent Gateways
Hi,
Is the BLOB datatype supported in Transparent Gateway data conversions between Oracle 10g R2 and SQL Server?
I couldn't find any information on this in the Documentation on OTN.
Thanks, IlaHy,
you never could view blobs via sqlplus
you only could use utl_raw.cast_to_varchar2 if there ist text inside your blobs.
regard
Martin -
Reading contents of a BLOB datatype having more than 4000 characters.
Hi,
I am unable to read contents of a column having BLOB datatype.I tried using ult_raw.cast_varchar2(Col_name) procedure,but since varchar2 has a size limit of 4000 bytes,complete contents are not visible.
Pl. suggest some way to view the contents.
Regards,
Saket BansalIn the link that you mentioned a procedure is used that gets the length first then loops through if length is greater than 32760.
I mean to say can user get the output in a single SQL query e.g.
select utl_raw.cast_to_varchar2(column_name) from table_name;something like this for bytes greater than 4000 bytes.
----- Read your reply a bit late thanks.
Edited by: Avi on Mar 2, 2009 1:21 AM -
I go to save a picture (bu holding my finger down on the image, then pressing save image, when the option comes up), and then go to the photos to view the picture, its says updating library and takes about a minute to finish loading and rebuilding/updating the library. After it has finished updating the library I cannot view the picture I saved because it comes up as a picture of a grey camera that says JPG (I assume this is some sort of file, because if i save multiple pictures only one JPG, gery camera image shows up.) My ipod never used to do this. Any idea on how to fix it?
Try a manual install following directions in link below.
Basic troubleshooting steps.
17" 2.2GHz i7 Quad-Core MacBook Pro 8G RAM 750G HD 120G Vertex 3 SSD Boot HD -
I cannot view my iphone device when i connect to computer itunes
I have an iPhone 4S device and every time I plug it into my computer, I have to manually open my iTunes up. Once my iTunes has loaded and is up and running though, I still cannot view my iPhone in devices?? My iTunes seems to not recognise or acknowledge my iPhone even though this was the computer I orignally synced my phone with? Help! I've not been able to add music or anything to my phone for almost a year now and have still not found the solution :-(
anyone with the same problem or know the answer??iOS: Device not recognized in iTunes for Windows
http://support.apple.com/kb/TS1538
iOS: Device not recognized in iTunes for Mac OS X
http://support.apple.com/kb/TS1591 -
XML page cannot be displayed cannot view XML input using XSL style sheet Please correct the error and then click the REfresh
Is the error message displayed in Firefox or in IE, or in a customized window that doesn't identify the browser?
''If it displays in Firefox:''
It's possible that the Troubleshooter doesn't work correctly unless IE is your default browser. You could test that possibility by having IE make itself the default and testing the Troubleshooter again.
''If it displays in IE or embedded in another Microsoft application:''
In a web search I found these suggestions:
(1) Reset your Internet Explorer settings, according to http://answers.microsoft.com/en-us/ie/forum/ie8-windows_7/cannot-view-xml-using-xsl-style-sheet/ccfe80c6-c0db-4594-a7e3-475f9eac0e85
(2) Try the System File Checker, according to http://ask-leo.com/why_do_i_get_the_xml_page_cannot_be_displayed_after_running_a_microsoft_troubleshooter.html
Any luck? -
I cannot view my videos after upgrading to OSX
I cannot view my videos after upgrading to OSX. Each video I try to open the message on the black background is Blocked Plug-In. In system preferences I have the latest Java but Flash Player does not upgrade to Flash 12 after numerous attempts.
HI MortenEJ,
Thanks for your responce.but already done doing "Restore factory settings" .. and when Im doing "back up from" ..
I still encounter the same problem. I have important messages in my inbox I want to keep.
I even try to upgrade to the newest version. IOS 5.0.1. but still the same..My main problem is my contacts. I dont have "+" add contact button and inside each contact.. I dont have the "edit" button.. -
Cannot view msgs after upgrading to IOS8
Cannot view msgs after upgrading to IOS8..I get the msgs but cannot open them..the screen just goes blank
I tried restarting..back up ..using a different sim..everything but nothing is working
can anyone help urgently its affecting my business big time
ThanksI am having this same issue. I live in Korea and changing the language to Korean made the messages searchable, but when I changed back to English, the problem returned and I was unable to search all my messages via the search window in the messages app, but then, after about 5 minutes, the messages app crashed, and after that, the problem was resolved. Gotta sat that I'm so far unimpressed with ios 8; seemingly not ready for Primetime.
-
Cannot view the collaboration in the home page
Hello,
I cannot view the collaboration button in the home page for the application sharing. Can anyone help me out where to configure.
Thanks.
Regards,
Muralihi Chintu,
check the 'add records' beside 'transferred records',
and have you activated data ?
ods keyfields will determine the update.
check
http://help.sap.com/saphelp_nw2004s/helpdata/en/4a/e71f39488fee0ce10000000a114084/frameset.htm
Additional restrictions:
- You can create a maximum of 16 key fields (if you have more key fields, you can combine fields using a routine for a key field (concatenate).)
- You can create a maximum of 749 fields
- You can use 1962 bytes (minus 44 bytes for the change log)
- You cannot include key figures as key fields
http://help.sap.com/saphelp_nw2004s/helpdata/en/f9/45503c242b4a67e10000000a114084/frameset.htm
hope this helps. -
Cannot view SWF ebook in full pages
After I export my ebook to a swf file and then view the html file of it, I can only see one page at a time. Originally I had two pages side by side and able to use page turns and everything worked. I had a few changes to be made and now after the changes I cannot view it in a 2page spread. I checked the document setup, thinking it had to do with facing pages, but that wasn't the issue. Any other thoughts why this is happening?
I also tried creating a new ebook and the same thing happened... Is there a setting I have that needs to be changed?
Thanks in advanced!
( i am using indesign 5.5 on a mac)
here are my exporting and document settings: (let me know if you need any other info)Probably your swf file does not link to the xml file in the repository. To check the link to the xml file - look at the properties on the xml file. Try putting the access link for the xml file in your swf.
regards,
bjorn -
Cannot view News folder in the Production
Hello,
We are using 3 portals. One is Development, Quality and Production. In the Quality and Production on the home page we view New News with jpgs on the home page but with the same settings we cannot view in the Development Home page. Can anyone tell his solution.
cheers
krisHi Murali,
Something else that may be happening here...
The /etc repository is a file system repository. Is it possible that you've got the read-only flag set at the OS level?
You can find the /etc repository (in NW04) at:
<DRIVE>:\usr\sap\<SID>\SYS\global\config\cm\etc
Regards,
Graham.
Maybe you are looking for
-
How to add a JDBC driver jar to ESB project?
I am developing an EJB project in JDeveloper 10.1.3.1. I am trying to connect MS SQL Server DB to the ESB. I set up the JDeveloper so it can connect to the MS SQL Server, list the tables&data. I put a DB Adapter using the existing connection to the d
-
Error while infocube repartitioning COPY_TO_SHD_FFACT
Hi, While repartitioning infocubes i always get an error on COPY_TO_SHD_FFACT step. The monitor error is the following: You tried to work with the name of a table or view that does not exist in the database. An exception with the type CX_SY_NATIVE_SQ
-
I have a problem. I am being bombarded with Spam and Junk mail. I know that somehow you can access something in mail that would help me with my junk mail, except I'm not sure how. Everytime I get Spam that i don't want i click the Junk icon next to t
-
Security Issues - No password required for unsleeping and screensaver
I checked the box under security to 'require password when waking from sleep/screensaver' or whatever its called. It worked fine for like 2 weeks...i activate screensaver or sleep the laptop and have to put in a password to get out of it. Now when I
-
Hi, I have a problem with fonts because in the window I can't see the font, they are transparent. how can I fix this?