• Post Reply Bookmark Topic Watch Topic
  • New Topic

Database subtraction  RSS feed

 
egbai mmumene
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How can i minus 1 from an integer entry in a database every time a particular action is performed. The column i want to minus from has a primary key entryname
 
Wendy Gibbons
Bartender
Posts: 1111
Eclipse IDE Oracle VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
my mind is boogling how this fits into your movies database, but anyway do you know about update statements?
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!