BUG: sp_OASetProperty Truncates Varchar Types to 255 Characters (278448)
The information in this article applies to:
This article was previously published under Q278448
BUG #: 54472 (SQLBUG_70)
SYMPTOMS
If you use the sp_OAsetproperty property to pass varchar strings that are larger than 255 characters to a Microsoft Visual Basic COM DLL that accepts strings, the Odsole70.dll file truncates the string to 255 characters.
CAUSE
All sp_OA* extended stored procedures still use the old version of the srv_paraminfo function instead of the new srv_paraminfo function. Use of the old version of the srv_paraminfo function results in the truncation of the parameters (both in and out) to a maximum of 255 characters without any notification.
One example is the sp_OAsetproperty in the Odsole70.dll file.
STATUS
Microsoft has confirmed this to be a problem in SQL Server 7.0.
Modification Type: | Major | Last Reviewed: | 10/16/2002 |
---|
Keywords: | kbBug kbDSupport KB278448 |
---|
|