If you want to edit DB file and not damage it, you should install dedicated software There are many tools known as DB Online Editors, but it is not certain that they operate in a way that keeps the data contained in the file safe.
The installation of the program that supports the DB file does not guarantee that the file can be edited. Additional information about the DB file extension can be found here.
Definitely the best solution. Use any of the programs that support the DB file to check if it allows you to edit the file. It's safest to download the software from the developer's website. You will find links to the software developers' websites on the subpage of each program. List of sample programs supporting the DB file below.
And here is the full list of programs supporting the DB file
Most of the file formats are simply text format saved under a different extension - so you can open them e.g. with Windows Notepad However, it's dangerous, you can permanently damage your DB file. When you save the changes, you may no longer open the DB file. It is safest to use software that was created to edit files in the DB format.
It can definitely be said that any of the list of programs that support the DB extension should be able to edit the DB file. However, if for some reason you did not find this option, you can try using tools prepared by external websites. Below are tools that allow you to edit DB online files.
Free Online File Edit Service
Copy and paste this link anywhere.