Microsoft KB Archive/115487

{|
 * width="100%"|

BUG: Default Converts @@dbts to int May Cause Access Violation

 * }

Q115487

-

The information in this article applies to:


 * Microsoft SQL Server version 4.2x

-

BUG# NT: 800 (4.21)

SYMPTOMS
Inserting into a table where a column defined as int has a default that converts the global timestamp variable @@dbts to int causes a thread level access violation on SQL Server for Windows NT.

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

MORE INFORMATION
The following will cause a thread level access violation:

  use pubs go  drop table t1   go   drop default testdef go  CREATE DEFAULT testdef AS   convert(int,substring(@@DBTS,5,4)) go  create table t1(c1 char(2), c2 int) go  sp_bindefault testdef, "t1.c2" go  insert t1(c1) values ("ab") go Additional query words: default sp_bindefault insert Windows NT

Keywords : kbother

Issue type :

Technology : kbSQLServSearch kbAudDeveloper kbSQLServ420OS2