Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 10190

This tag is for general database questions. If you question is specific to SQL or NoSQL, use the corresponding tags instead.

0 votes

Is it necessary to create a database with as few tables as possible

Uncle Bob would argue that More is Simpler. See http://c2.com/cgi/wiki?FearOfAddingTables "a good design is generally simplified by adding tables" I believe that almost all entities are many-to-man …
Neil McGuigan's user avatar
12 votes

How to prevent race conditions in a web application?

Use Optimistic Concurrency Control. Add a versionNumber or versionTimestamp column to the table in question (integer is safest). User 1 reads record: {id:1, status:unimportant, version:5} User 2 read …
Neil McGuigan's user avatar