Microsoft KB Archive/114527

{|
 * width="100%"|

The information in this article applies to:
 * Microsoft SQL Server version 4.2 for OS/2

BUG# OS/2: 1810 (4.2)

SYMPTOMS
Using the TEXT function PATINDEX with a static string converted to TEXT using the CONVERT function may cause a general protection fault (GP fault) on SQL Server.

WORKAROUND
Use an equivalent C or Visual Basic string function if performing DB-Library (DB-Lib) programming.

STATUS
Microsoft has confirmed this to be a problem in SQL Server version 4.2 for OS/2. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

MORE INFORMATION
The query,

SELECT PATINDEX("x", CONVERT(TEXT, "x")) may cause SQL Server for OS/2 to Trap D and terminate.
 * }

-

Last reviewed: April 29, 1997

© 1998 Microsoft Corporation. All rights reserved. Terms of Use.