I opened a file whose header says SQLite 3 and edited the value of 2 fields. I didn't change its structure. I tried saving, exporting etc but I never get a file with the same header as the original - and the program that uses this file says it is in the wrong format (or absent).
I tried the .dump command and got a file which begins: PRAGMA foreign_keys=OFF; BEGIN TRANSACTION; CREATE TABLE locales ( locale_id INTEGER PRIMARY KEY AUTOINCREMENT, locale_uuid TEXT UNIQUE, locale_code TEXT
What I need is a file with the same format as the file I began my DB Browser for SQLite session by editing, which has these opening lines: SQLite 3 [the remaining characters result in an error message if I try pasting them in here) I see many characters did not paste well here! But you get the idea - the file I am able to save/export/dump out of the app is in plain text and the file I am trying to edit ONE PIECE OF DATA IN is not.
Perhaps I should have told you upfront these are my first 20 minutes in the world of editing SQL! (Mac 10.14.6)I will try to attach the file I started with.
Tried all the commands in the File menu - save, export. Tried terminal .dump
Just write an Update data routine. Here is code for a C# app It checks that the data is valid then when you click the update button presto magic data is updated