Please wait,
Processing your request...

    0%
  Business logo VanSoest.it  
  ... | Selecteer de Nederlandse taal | Print this page. | Linkedin page of Johan van Soest | User: Guest | Login

Postcard image. Click this to mail to Johan

WebHalla
 Content
  Management
   System


ICT-Hotlist Topic

Back to the ICT-Hotlist...
Don't miss latest updates Follow @WebHalla

SQLite Manager (FireFox AddOn)

Manage any SQLite database on your computer with SQLite Manager (FireFox AddOn). An intuitive hierarchical tree showing database objects. Helpful dialogs to manage tables, indexes, views and triggers. You can browse and search the tables, as well as add, edit, delete and duplicate the records. Facility to execute any SQL query. The views can be searched too. A dropdown menu helps with the sql syntax thus making writing sql easier. Easy access to common operations through menu, toolbars, buttons and context-menu. Export tables/views/database in csv/xml/sql format. Import from csv/xml/sql (both UTF-8 and UTF-16). Possible to execute multiple sql statements in Execute tab. You can save the queries. Support for ADS on Windows.
SQLite is a small C library that implements a self-contained, embeddable, zero-configuration SQL database engine. A SQLite database is a single ordinary disk file that can be located anywhere in the directory hierarchy.

Examples

A simple sales support database is created for the demo, containing of the tables:
Customers
CREATE TABLE "Customers" (
            "CustID" INT PRIMARY KEY AUTOINCREMENT NOT NULL
            ,"Name" CHAR
            ,"Address" CHAR
            ,"Place" CHAR
            ,"Country" CHAR
            )
      
OrderLines
CREATE TABLE "OrderLines" (
            "OrdID" INT NOT NULL
            ,"OrdLineID" INT NOT NULL
            ,"ProdID" INT
            ,"Count" INT
            ,"Price" NUMERIC
            ,PRIMARY KEY (
                "OrdID"
                ,"OrdLineID"
                )
            )
      
Orders
CREATE TABLE "Orders" (
            "OrdID" INT PRIMARY KEY AUTOINCREMENT NOT NULL
            ,"CustID" INT
            )
      
Products
CREATE TABLE "Products" (
            "ProdID" INT PRIMARY KEY AUTOINCREMENT NOT NULL
            ,"Name" CHAR
            ,"Cost" NUMERIC
            )
      

Screen Shots

This great program provides a lot of overviews. Three are shown here to give you an overview
SQLite Manager displays the table layout, Create query and column overview.
SQLite Manager displays the table layout, Create query and column overview.
SQLite Manager displaying the row/tuple based content of the table.
SQLite Manager displaying the row/tuple based content of the table.
SQLite Manager SQL query editor and query results grid displaying all order, order lines with customer and product information.
SQLite Manager SQL query editor and query results grid displaying all order, order lines with customer and product information.

Query

The query shown above is:
    -- ******************************************************************************************
    -- * This Database design is created to demonstrate the FireFox Add-on SQLite Manager.      *
    -- * (C) Copyright 2013 - 2019 vanSoest.it by Johan van Soest.                              *
    -- *                                                                                        *
    -- * This example code is only provided for demonstrational purposes and does not           *
    -- * constitute a complete and / or error free and / or optimized production ready solution.*
    -- ******************************************************************************************

    SELECT OrdJoin.OrdID AS "Order"
        ,OrdJoin.OrdLineID AS "Order Line"
        ,Customers.NAME AS "Customer name"
        ,Products.NAME AS "Product Name"
        ,OrdJoin.Count AS "Amount Ordered"
        ,OrdJoin.Price AS "Price"
    FROM (
        SELECT *
        FROM OrderLines
        INNER JOIN Orders ON (OrderLines.OrdID = Orders.OrdID)
        ) AS OrdJoin
        ,Products
        ,Customers
    WHERE OrdJoin.ProdID = Products.ProdID
        AND OrdJoin.CustID = Customers.CustID
    ORDER BY OrdJoin.OrdID
        ,OrdJoin.OrdLineID
    
SQL formatted with PoorSQL
You may vote your opinion about this article:


Topic created  :  01-05-2017
Topic last edited  :  26-04-2019

Scripts and programming examples disclaimer

Unless stated otherwise, the script sources and programming examples provided are copyrighted freeware. You may modify them, as long as a reference to the original code and hyperlink to the source page is included in the modified code and documentation. However, it is not allowed to publish (copies of) scripts and programming examples on your own site, blog, vlog, or distribute them on paper or any other medium, without prior written consent.
Many of the techniques used in these scripts, including but not limited to modifying the registry or system files and settings, impose a risk of rendering the Operating System inoperable and loss of data. Make sure you have verified full backups and the associated restore software available before running any script or programming example. Use these scripts and programming examples entirely at your own risk. All liability claims against the author in relation to material or non-material losses caused by the use, misuse or non-use of the information provided, or the use of incorrect or incomplete information, are excluded. All content is subject to change and provided without obligation.
Generated by WebHalla™ Version 0.1.e.3 : Monday 19-8-2019 © Copyright 1995-2019 Johan van Soest
Response Form    Cookie- and Privacy statement
Weather in Waalre by OpenWeatherMap logo scattered clouds
Temperature 17.97 °C scattered clouds
Humidity 72 % scattered clouds
Air pressure 1015 hPa scattered clouds
Wind speed 6.2 m/s scattered clouds
Wind direction South West South West scattered clouds
Updated:2019-08-19 10:46:39 scattered clouds

Weather Cache is 5 minute(s) old.