Change management tool for SQLite - sqlite

I am looking for a good change management application for use with SQLite. In the past I have used SQL Data compare by Redgate, but I have been unable to find anything similar that supports SQLite.
I need to update a fairly large encrypted SQLite database (~1,000,000 rows and 74MB). If possible I would like to generate some scripts to just update the changes rather than force users to download a whole new copy of the database. The version of SQLite we are using is 3.6.23.1. Thanks in advance for any recommendations :)

Have you tried SQLite Compare? It's freeware, and I have used it to compare schemas/data. I think it will also generate SQL update scripts for you too.

Related

Update CosmosDb collection with data from text file

A CosmosDb collection currently in use needs to be updated, and the updates have been provided via text file which will be converted into json. The json file will not contain a key or id, only a userId to match.
The update is very minimal and one-time, probably under 1k records.
What is the best way to accomplish this? A simple console app which utilizes a Cosmos SDK seems to be the most straightforward, but the team has limited Cosmos experience so wanted to reach out for more of a best practice solution. Thanks in advance for any information.
You can try using the Data Migration Tool. You can get an old version of it here.
There will be a newer version of this out early next year.

Pros/Con of Excel VBA v SQLite

I am recently working with a relational database program that has been written in Excel VBA. Excel VBA was chosen as it is a default application on computers where I work and therefore everyone would be able to use the database.
As part of the database development the need has arisen to add some more tables which will only interact programmatically with the current database. In order to consider all my options I am contemplating separating this new data either as an SQLite or second excel file.
I keep changing my mind as to what would be the best route and would appreciate information from those who work with the programs.
The new database would need to perform normal database functions quickly and efficiently. Given this context what are the advantages/disadvantages of using SQLite compared with excel?
Excel is not a database! If you want to use the Office applications, use Access, it is designed for that.
If you want to use SQLite, bear in mind that there is no concurrency. So if PC1 writes to the database, and PC2 wants to do that too, the file is locked by PC1 and you will get an error on PC2.
My recommendation:
You can also install SQL Server Express, this is free, with a few terms (10 concurrent users & max 10GB db). And then store your data in your SQL server. Use Excel as an interface to collect data from the SQL Server in your Excel/VBA applications. This is a lot more scale-able then Access, let alone SQLite.
OR: If your organization doesn't allow installation of software or whatever reason, go for Access.
You can use SQLite if you have a single application on a single device. Think about mobile apps, they use SQLite for example. If you have two applications on a single device, the concurrency problem of SQLite comes around the corner. It is possible that both apps want to write at the same time, which will give you an error.

How can I save a Microsoft Access database as .sqlite database?

Are there any add-ons or something that can enable Microsoft Access to save its database as .sqlite?
Or do you know of any other way I can convert them, both ways.
Thanx a lot
If you can find an application (libreoffice?) or language with bindings/reader to access or if you can convert the access "db" into something sane, it shouldn't be too difficult to go to sqlite from there. The code you need will probably be specific to your particular database and not a universal Access->sqlite converter.
Actually, you might see if access could directly talk to sqlite over ODBC. Longshot, but that might be closest to a full answer to your question.
You could see these, for starters:
What do I need to read Microsoft Access databases using Python?
how to deal with .mdb access files with python
SQLite Syntax Error In Union Select Query From MS-Access
How to use sqlite database from inside MS Access?
ODBC/JDBC resources
Bindings and libraries for your favourite languages

Sqlite database documentation templates / software?

I need to write documentation for several small sqlite databases. Want to describe how the data is used, including table and row descriptions and sample data.
Is it possible to use MySQL Workbench? If not are there any alternatives, or any templates I could work from?
TIA!
Using MySQL Workbench is not possible since, as far as I know, it only supports exporting to SQLite. For a number of suggestions about free database managers you might want to take a look at What are good open source GUI SQLite database managers? - a number of the GUIs mentioned there support report generation.
Definitely far more feature rich, but with a significant price tag, is Navicat for SQLite, which is an excellent database manager with report generation features.

Database Designer/Editor for Browser

Someone at my office asked me to build a browser tool to let them specify a database table's columns and then let them edit the rows. I would be happy to do that, but it seems like this must have been written before or is part of some CMS tool out there. Is there a tool/service/website that lets user create simple database schemas that can then be editted? I am looking for a very simple tool. That really amounts to a simple table editor. It doesn't need to know about foreign keys or indexes. Something like multiple people editing a spreadsheet on Google docs but only let users edit one row at a time.
Extra points for an ASP.NET/MVC tool.
I'm not sure if it is what you looking for but have a look at phpMyAdmin.
It is a tool for mySql to manage databases, table, user, and data of a mySql installation.
It is a php written webfrontend.
http://www.phpmyadmin.net/home_page/index.php
This may be overkill for your needs, but we use DbVisualizer to manipulate our databases.
I have made a tutorial that shows you how to install phpMyAdmin on your server. The designer mode makes it simple to manage your database and it runs in your browser. This tutorial shows you how http://havenofcode.com/tutorial.php?tut=9.

Resources