Microsoft Knowledge Base Email Alertz

(178875) - The Working with LONG, LONG RAW and VARCHAR2(2000) Oracle Datatypes white paper is intended to clarify the handling of the Oracle datatypes LONG, LONG RAW and VARCHAR2(2000) when they are used with Microsoft Visual Basic and Remote Data Objects...

Search KbAlertz

Advanced Search

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]











Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks

Article ID: 178875 - Last Review: March 14, 2005 - Revision: 2.4

ORALONG.EXE: Use RDO with Oracle LONG/LONG RAW Datatypes

This article was previously published under Q178875

SUMMARY

The "Working with LONG, LONG RAW and VARCHAR2(2000) Oracle Datatypes" white paper is intended to clarify the handling of the Oracle datatypes LONG, LONG RAW and VARCHAR2(2000) when they are used with Microsoft Visual Basic and Remote Data Objects (RDO). A sample project is attached that illustrates storing and retrieving these datatypes. The project uses straight Visual Basic 5.0 RDO code to store and retrieve this data as well as using stored procedures.

Note It is not recommended to store BLOB or Long Text data in a table. A more efficient way is to store file pointers in the table that will locate the actual files. Other Microsoft white papers go into detail on this method.

MORE INFORMATION

The following files are available for download from the Microsoft Download Center:
Oralong.exe (http://download.microsoft.com/download/vb50ent/sample20/1/w9xnt4/en-us/oralong.exe)
For additional information about how to download Microsoft Support files, click the following article number to view the article in the Microsoft Knowledge Base:
119591  (http://kbalertz.com/Feedback.aspx?kbNumber=119591/EN-US/ ) How to Obtain Microsoft Support Files from Online Services
Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help to prevent any unauthorized changes to the file.
OraLong.exe is a self-extracting file that will, after execution, produce a Microsoft WORD 7.0 document (Ora_Long.DOC), an HTML document (Ora_Long.HTM) and a Microsoft Visual Basic 5.0 project named Oracle_Long.VPB. The document thoroughly describes the Visual Basic application included and gives pointers about using Oracle LONG, LONG RAW and VARCHAR(2000) datatypes.

Also included in the file list is a .txt file named Ora_Long.OSP that has all the Oracle PL/SQL scripts necessary to support the Visual Basic application. Run Ora_Long.OSP from Oracle SQL*PLUS to create the table and stored procedures on your Oracle server.

After downloading OraLong.exe, place it in a new folder and run the file to extract the supporting files for this white paper.

In addition to Visual Basic, you must install MDAC.
For additional information about acquiring and installing MDAC, please see the following article in the Microsoft Knowledge Base:
175018  (http://kbalertz.com/Feedback.aspx?kbNumber=175018/EN-US/ ) : HOWTO: Acquire and Install the Microsoft Oracle ODBC Driver
(c) Microsoft Corporation 1998, All Rights Reserved.
Contributions by Ron Nelson, Microsoft Corporation

APPLIES TO
  • Microsoft Visual Basic 5.0 Enterprise Edition
  • Microsoft Visual Basic Enterprise Edition for Windows 6.0
  • Microsoft Data Access Components 2.1 Service Pack 2
  • Microsoft Data Access Components 2.5
Keywords: 
kbdownload kbdatabase kbfile kbinfo kbmdacnosweep kbrdo KB178875
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate