473,386 Members | 1,766 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.

>255 chars into stored procedure via ado

ben
Hi there
I've got a problem, using DB2 8.1, Visual Basic 6 and ADO 2.5
I can't write varchars of length more than 255 chars, either directly
into a stored procedure call (using recordset execute) or using a
command object. The error message is 'string data right truncation'.
There's no problem using longer strings in a db tool (eg dbartisan) Is
there some ADO setting that I need to change?
thanks in advance
Ben

Nov 12 '05 #1
0 1034

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

Similar topics

7
by: James | last post by:
I am currently working on a PHP based website that needs to be able to draw from Oracle, MS SQL Server, MySQL and given time and demand other RDBMS. I took a lot of time and care creating a...
2
by: sarhjinian | last post by:
I'm having some trouble working with an ODBC query of a large SQL Server table in Access. The table is ~440 fields in size (I know, but its not my database). I only need about six of these fields...
1
by: Shamet | last post by:
Dear: Com.database, My name is Shamet, I am working with large questionnaire, I need your help to solve this problem, how can I increase the field size in the text data type, I want more 255...
2
by: Kevin | last post by:
I'm thinking of moving data from Excel to Access to get around Excel's 1024-character limit on text-wrapping, and just learned that unless you do something with VB, text field-type in Access 2003...
2
by: Zlatko Matić | last post by:
Hello. I have the following problem with MS Access/PostgreSQL combination: There is a form in Access that has an unbound text box, used for entering a commentary of a batch of records. There is a...
2
by: ACase | last post by:
Hello; I am having an interesting problem. I have an application which allows a user to enter data on the front end (Broswer HTML/ASP), click on a button and using the entered data runs some...
14
by: Michael | last post by:
Since the include function is called from within a PHP script, why does the included file have to identify itself as a PHP again by enclosing its code in <?php... <?> One would assume that the...
3
by: Homer J. Simpson | last post by:
I have the following stored procedure: ALTER PROCEDURE . AS BEGIN SET NOCOUNT ON; SELECT COUNT(*) FROM QUICKNOTES END ....and the following data source in my .aspx file:
0
by: mahesh123 | last post by:
Hi, How to save the value of CustomDocumentProperties a text using VBA, if the string is longer then 256 characters? Thanks & Regards ---------------------------- Mahesh
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
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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.