BUG: Default Converts @@dbts to int May Cause Access ViolationLast reviewed: April 29, 1997Article ID: Q115487 |
The information in this article applies to:
- Microsoft SQL Server version 4.21BUG# NT: 800 (4.21)
SYMPTOMSInserting 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.
STATUSMicrosoft 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 INFORMATIONThe 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
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |