r/DatabaseHelp • u/Death-A-Lot • Jan 15 '17
Can a database function as a spreadsheet?
I work with Excel spreadsheets as part of my day to day work.
I can see various ways of improving them and making them easier / foolproof.
As I sit at night thinking about it I thought the best way would be for me to take on a project and learn to code it, so that certain tasks can be done by clicking a button.
As more thought goes into it I realise that a database would be needed and then I code certain behaviours and the look.
So I start to think about how to learn and plan a database. As I look into it and think about how it performs I cannot find a decent answer to the question of this post.
As an example, let's say I have 20 columns in my table. If I change a value in column 2 can a database be coded so that column 5 10 and 15 automatically change to reflect these changes. So the user sees the change straight away.
View all comments
Show parent comment
2
u/[deleted] Jan 16 '17
Database systems are designed to provide atomic transactions, which means that you can insert, delete and modify data as much as needed, and all or none of the operations are done at the same time. So from the point of view of the user, all changes appear at the same time, regardless how much or how complex the changes are.