Groups | Blog | Home
all groups > sql server (alternate) > march 2004 >

sql server (alternate) : Increment int values


sjaakvanesdonk NO[at]SPAM hotmail.com
3/21/2004 10:50:51 AM
Andrew Banks
3/21/2004 3:24:58 PM
Is it possible to increase an int value in SQL without having to read the
current value first.

I know I could reade the current value, add 1 to it and UPDATE with the new
value but this involves multiple queries to the DB.

Is it possible to just increment the value through SQL?

Thanks,
Andrew

AddThis Social Bookmark Button