Hi Friend, I have written a Stored procedure to perform an update operation on tblDesignation but it doesnt update... i cant see the problem as it seems there is no logical error in the structure... here is my stored procedure set ANSI_NULLS ONset QUOTED_IDENTIFIER ONGOALTER PROCEDURE [dbo].[ProcUpdateDesignation]( @Name nvarchar(50), @AnnualLeaveMax int, @SickLeaveMax int, @EntryDate datetime, @UpdatedDate datetime, @Original_DesigIndex int, @Original_Name nvarchar(50), @Original_AnnualLeaveMax int, @Original_SickLeaveMax int, @Original_EntryDate datetime, @Original_UpdatedDate datetime)ASSET NOCOUNT OFF;UPDATE [tblDesignations] SET [Name] = @Name, [AnnualLeaveMax] = @AnnualLeaveMax, [SickLeaveMax] = @SickLeaveMax, [EntryDate] = @EntryDate, [UpdatedDate] = @UpdatedDate WHERE ([DesigIndex] = @Original_DesigIndex AND [Name] = @Original_NameAND [AnnualLeaveMax] = @Original_AnnualLeaveMaxAND [SickLeaveMax] = @Original_SickLeaveMaxAND [EntryDate] = @Original_EntryDate AND [UpdatedDate] = @Original_UpdatedDate)
I have uploaded the DB and you can downlaod it from the followin link[url]http://www.mediafire.com/?t3iojnd2mmx[/url]I'm uinsg SQL server 2K5 Express i've used the SQL server Management studio express's right click to stored procedure and run utility. according to it my stored procedure doesnt updteThanks