BUG: Update Query Causes an Access Violation if a SUBSTRING Encounters Error 536 (255728)
The information in this article applies to:
This article was previously published under Q255728
BUG #: 17963 (SQLBUG_65)
SYMPTOMS
An Update query may cause an Access Violation (AV) if a SUBSTRING function generates this error:
Msg 536, Level 16, State 1
Invalid length parameter passed to the substring function.
WORKAROUND
Make sure that you pass a valid length to the SUBSTRING function. When you pass a valid length to the SUBSTRING function, the Access Violation no longer occurs.
STATUS
Microsoft has confirmed this to be a problem in SQL Server 6.5.
Modification Type: | Major | Last Reviewed: | 10/3/2003 |
---|
Keywords: | kbBug kbpending KB255728 |
---|
|