Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Max length sp_OASetProperty

Posted on 2002-05-31
2
Medium Priority
?
743 Views
Last Modified: 2010-08-05
what is the max length string i can pass to sp_OASetProperty, i try to pass a 8000 msg long, but is truncated.

My string contain 'abc...xyzbc...xy...', no special char in it.
0
Comment
Question by:mammouth
2 Comments
 
LVL 143

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 100 total points
ID: 7046757
Fact is that the limit for the newvalue parameter is 255 in SQL 7, as newvalue is of type varchar.
This doesn't seem to have changed since...

CHeers
0
 
LVL 1

Author Comment

by:mammouth
ID: 7046772
Yes the newvalue is varchar, but if i pass my varchar(8000), the last 2000 will bu truncated.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
This month, Experts Exchange sat down with resident SQL expert, Jim Horn, for an in-depth look into the makings of a successful career in SQL.
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.
Via a live example, show how to shrink a transaction log file down to a reasonable size.

877 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question