473,386 Members | 1,602 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

How to set up LongReadLen and LongTruncOk?

Hello,
I'm developing in ASP NET and trying to read a LONG RAW column from an
Oracle Table.
I get this error: "ORA-01406: fetched column value was truncated... "
.. I read that you can avoid this error setting up LongReadLen and
LongTruncOk... but how and where? Could I do it in my oracle stored
procedure? Or do I have to set up it on my ASP NET application...
Thanks! (I'm using W2003 Server)

PROCEDURE SP_LISTAR_REP (R_NUEVO OUT CUR_PKG_REPRESENTANTES,
i_cod IN INTEGER)
IS
BEGIN
--LongTruncOk:=0 ; -- Here ?
OPEN R_NUEVO FOR
SELECT R.cod_op As cod_op,
R.cod_rep As cod_rep,
R.img_repres As img_repres
FROM TBL_REPRESENTANTES R,
WHERE R.cod = i_cod
END SP_LISTAR_REP;
Jul 19 '05 #1
0 2260

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Costas Menico | last post by:
I have an Access database and a table. One of the columns was a memo field. If I execute a 'select * from table', all the rows would be retrieved but the columns after the memo column had null...
3
by: newtechiebug | last post by:
I am really new with Perl and I am trying to write data from an Oracle database to an Excel Spreadsheet simply by clicking on a link. I have read over CPAN Spreadsheet::WriteExcel and I really am...
1
by: cloverlano | last post by:
An existing perl script was working fine. However on a new linux server the text that is retrieved from a varchar 5000 column is being truncated. Apparently the Perl version is the same. When I...
0
by: Jorge_Beteta | last post by:
Hello, I'm developing in ASP NET and trying to read a LONG RAW column from an Oracle Table. I get this error: "ORA-01406: fetched column value was truncated... " .. I read that you can avoid this...
3
by: jonathan184 | last post by:
The code seems to be working fine for some records but I am thinking it is finding some other records with special characters and so on. I am looking for a way to insert the xml string with escaping...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.