Skip to main content

All Questions

Tagged with
-1 votes
2 answers
105 views

Increment my variable in a database with UPDATE in PHP

I get the variable 'stock' from my database. I would like increment my variable with an update with this code: $stock = $_POST['stock'] $nom = 'salade'; $req=("UPDATE ingredients SET stock=$stock+1 ...
mario_nsport's user avatar
3 votes
1 answer
5k views

Is there a way to check the database version in a flutter app using sqflite?

I am pretty new to flutter and I have some questions about how database version control works for these apps with sqflite. I have made a database file in my assets folder that is copied onto the ...
varmkun's user avatar
  • 157
0 votes
1 answer
110 views

Convert Select Oracle Query To Updte for specific scenario

we are using Oracle v12+ we have a situation where we need to update status column to previous value whenever we have first RENEWAL for every code (it is functional ID and has many rows against one ...
Kunal Vohra's user avatar
  • 2,795