Solved

Max length sp_OASetProperty

Posted on 2002-05-31
2
686 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 142

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 50 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Let's review the features of new SQL Server 2012 (Denali CTP3). It listed as below: PERCENT_RANK(): PERCENT_RANK() function will returns the percentage value of rank of the values among its group. PERCENT_RANK() function value always in be…
Everyone has problem when going to load data into Data warehouse (EDW). They all need to confirm that data quality is good but they don't no how to proceed. Microsoft has provided new task within SSIS 2008 called "Data Profiler Task". It solve th…
Via a live example, show how to shrink a transaction log file down to a reasonable size.
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

911 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now