+ 1

Can a '*.txt' file be a database?

7th Jul 2020, 2:27 PM
Blazko Reinn
Blazko Reinn - avatar
6 Respuestas
+ 2
by the definition "A database is an organized collection of data" yes, but practically unless you know what you're doing. it wont have much benefit than using available DBMS. but i guess its fine if you just want to practice file i/o, i did the same thing
7th Jul 2020, 2:32 PM
Taste
Taste - avatar
+ 1
Wait a moment Taste, DBMS is 'Database management system' is a software to manage your data base but it's not a data base 🧐🤔
7th Jul 2020, 3:45 PM
Blazko Reinn
Blazko Reinn - avatar
+ 1
dbms have their own file to store the data/database. what make it better is they already implement everything that we need from a database. like read/write, multiple connection, authorization, etc. but in the end they still store everything as a file, just like your txt (there are some exception)
7th Jul 2020, 4:08 PM
Taste
Taste - avatar
+ 1
Yes you can use a .txt file as a database but you should make it a lot easier on yourself in the long run and learn mySQL in a couple of hours so you are doing it more along the lines of industry standards. It would suck if you accidentally deleted your entire txt file by not knowing what you are doing and writing over it.
9th Jul 2020, 1:11 AM
Kevin Schow
Kevin Schow - avatar
0
Taste thanks!
7th Jul 2020, 2:37 PM
Blazko Reinn
Blazko Reinn - avatar