
USE [Developement]
GO
/****** Object: Table [dbo].[my_TestTab] Script Date: 12/15/2012 13:14:15 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[my_TestTab](
[ID] [int] IDENTITY(1,1) NOT NULL,
[VAL] [datetime] NOT NULL,
[accountNo] [bigint] NULL,
[amount] [money] NULL,
PRIMARY KEY CLUSTERED
(
[ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
INSERT INTO [Developement].[dbo].[my_TestTab]
([VAL]
,[accountNo]
,[amount])
VALUES
( getdate(), null , null)
GO
select * from my_Testtab
update my_Testtab set Amount=50010 , AccountNo=1234561234561234 where id =1
update my_Testtab set Amount=50020 where AccountNo=1234561234561234
I didnt get the error,
try this script .
if still error occurs the reply with ur script
Regards,
Sandeep Mhatre
Sandeep M,
Software Developer
Follow me on :
http://sandeepmhatre.blogspot.in
Guna27, if this helps please login to Mark As Answer. | Alert Moderator