Site Sponsored By: SQLDSC - SQL Server Desired State Configuration
Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
If there is one field such as Seq No in a table and if we entered some data ..and if we update one record of Seq No then the below records of Seq No should be incremented in that tablefor example there are 10 seq no's and if i had updated the seq no 4 to 5 then the 5 shuld b inc 6 and 6 to 7 etc............at preasent i wrote only update in sp of that particular record:like thisset ANSI_NULLS ONset QUOTED_IDENTIFIER ONgoALTER PROCEDURE [dbo].[UpdateSelected](@Description NVARCHAR(30),@SequenceNo int)AS UPDATE Sequence SETDescription = @Description,SequenceNo = @SequenceNoWHERE SectionID = @SectionIDbut now i need additional functionaly like inc the remaining sq no above that given no...Regards,Anushka