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 39757

For questions about structuring the data within a database. How to lay out tables, whether to use a relational DB or not, etc.

1 vote

How to store record statuses (like pending, complete, draft, cancelled...)

Using text for status in the record table would probably not be a good idea as this can change and it would be difficult to perform any data integrity checks on insert/update. If you are utilizing a D …
smp7d's user avatar
  • 4,221
2 votes
Accepted

Factory design pattern - getting the types from a table

This ties the db design to the programming language, which, in my opinion, is something you would want to avoid. A simple alternative would be to add a key to the table and have a way to map that key …
smp7d's user avatar
  • 4,221