Solved

Max length sp_OASetProperty

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Introduction SQL Server Integration Services can read XML files, that’s known by every BI developer.  (If you didn’t, don’t worry, I’m aiming this article at newcomers as well.) But how far can you go?  When does the XML Source component become …
JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.

773 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