DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SQL
sql decrement value by 1 if not null or zero
update yourTableName set yourColumnName = yourColumnName - 1 where yourColumnName > 0;
PREVIOUS
NEXT
Tagged:
#sql
#decrement
#null
ADD COMMENT
Topic
COMMENT
Name
4+8 =
Submit