-
Blobs and Oracle
Public Trust is going through the process of doing an evaluation of ASPdb Enterprise.
A requirement is the ability to store blobs in the database and retrieve them (graphics, Word Documents, Excel etc).
We really need a working example to access this product please.
PROBLEM: Results appear to be coming back but we do not see a picture: (Picture was loaded into the database using sql/loader). We only see a place holder
ISS Server 1.0 is NT 4.0 Service Pack 5.
Oracle Version: 8i runing on Dynix 4.4.5
Odbc Driver: Oracle ODBC Driver 8.00.58 (We tried the microsoft Driver 2.573 without any success using blobs)
Table layout:
SQL> descr webuser.emp_table
Name Null? Type
------------------------------- -------- ----
KEY_VALUE NUMBER(38)
EMP_NAME VARCHAR2(40)
PHONE_NO VARCHAR2(20)
B_LOB BLOB
Our ASPdb Script so far mainly source from ASPdb examples:
<%response.buffer=true%>
<CENTER><h2>In-Cell image Demo</h2>
<%
Set X=Server.CreateObject("AspDB.EP"
X.dbUnit=1
X.dbDSN="DSN=WEB; UID=webuser; PWD=webuser;"
X.dbDBtype="oracle"
X.dbmode="grid"
X.dbSQL="Select * FROM emp_table"
X.dbGridHideFlds="2"
X.dbGridTableTag="BORDER=1"
'to display inlcell jpg
X.dbBLOB="b_lob,image/jpg,browser,1"
X.ASPdbEP
%>
</CENTER>
-
Blobs and Oracle (reply)
I am also doing an AspDb Oracle implementation.
I would like to share the experiences if you would'nt mind.
My email is williamhunt@compuserve.com.
------------
Rod Orr at 2/14/00 10:58:30 PM
Public Trust is going through the process of doing an evaluation of ASPdb Enterprise.
A requirement is the ability to store blobs in the database and retrieve them (graphics, Word Documents, Excel etc).
We really need a working example to access this product please.
PROBLEM: Results appear to be coming back but we do not see a picture: (Picture was loaded into the database using sql/loader). We only see a place holder
ISS Server 1.0 is NT 4.0 Service Pack 5.
Oracle Version: 8i runing on Dynix 4.4.5
Odbc Driver: Oracle ODBC Driver 8.00.58 (We tried the microsoft Driver 2.573 without any success using blobs)
Table layout:
SQL> descr webuser.emp_table
Name Null? Type
------------------------------- -------- ----
KEY_VALUE NUMBER(38)
EMP_NAME VARCHAR2(40)
PHONE_NO VARCHAR2(20)
B_LOB BLOB
Our ASPdb Script so far mainly source from ASPdb examples:
<%response.buffer=true%>
<CENTER><h2>In-Cell image Demo</h2>
<%
Set X=Server.CreateObject("AspDB.EP"
X.dbUnit=1
X.dbDSN="DSN=WEB; UID=webuser; PWD=webuser;"
X.dbDBtype="oracle"
X.dbmode="grid"
X.dbSQL="Select * FROM emp_table"
X.dbGridHideFlds="2"
X.dbGridTableTag="BORDER=1"
'to display inlcell jpg
X.dbBLOB="b_lob,image/jpg,browser,1"
X.ASPdbEP
%>
</CENTER>
-
Blobs and Oracle (reply)
Just remember that -
Look for "Bob Cummings" in this forum and contact him. He has Oracle's BLOBs working some time ago and his BLOBs contains a mix of BMP and JPGs.
FK
------------
frank at 2/26/00 4:04:59 AM
1. Make sure the BLOB field is of ADO datatype 201 or 203.
2. Make sure the jpg stored in the BLOB field has a user controllable header offset.
3. ASPdb examples works in MS-SQL (pubs DB) BLOB fields which stores the gif files with no header offset.
4. If still have problem. Send me a small sample (5-10 records) of you ORACLE DB and I'll look at that.
FK
------------
Rod Orr at 2/14/00 10:58:30 PM
Public Trust is going through the process of doing an evaluation of ASPdb Enterprise.
A requirement is the ability to store blobs in the database and retrieve them (graphics, Word Documents, Excel etc).
We really need a working example to access this product please.
PROBLEM: Results appear to be coming back but we do not see a picture: (Picture was loaded into the database using sql/loader). We only see a place holder
ISS Server 1.0 is NT 4.0 Service Pack 5.
Oracle Version: 8i runing on Dynix 4.4.5
Odbc Driver: Oracle ODBC Driver 8.00.58 (We tried the microsoft Driver 2.573 without any success using blobs)
Table layout:
SQL> descr webuser.emp_table
Name Null? Type
------------------------------- -------- ----
KEY_VALUE NUMBER(38)
EMP_NAME VARCHAR2(40)
PHONE_NO VARCHAR2(20)
B_LOB BLOB
Our ASPdb Script so far mainly source from ASPdb examples:
<%response.buffer=true%>
<CENTER><h2>In-Cell image Demo</h2>
<%
Set X=Server.CreateObject("AspDB.EP"
X.dbUnit=1
X.dbDSN="DSN=WEB; UID=webuser; PWD=webuser;"
X.dbDBtype="oracle"
X.dbmode="grid"
X.dbSQL="Select * FROM emp_table"
X.dbGridHideFlds="2"
X.dbGridTableTag="BORDER=1"
'to display inlcell jpg
X.dbBLOB="b_lob,image/jpg,browser,1"
X.ASPdbEP
%>
</CENTER>
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|