This is a simple way to increment a column count. It is very reliable since we are incrementing the value of the column using its own value.
UPDATE [MyTable]
SET [myColumnCount]=[myColumnCount] + 1
WHERE [id]=@rowid;
Share This To :
Related Posts
Loading..
0 comments:
Post a Comment