How to generate SQL script for SQL Server

To generate SQL scripts from your SQL Server project click the SQL Script icon on the main toolbar. New modal opens. Click Save Script and select a location where the file should be stored.

Generate SQL Script for SQL Server

Generation settings

You can control how the script will be generated on the Generation settings tab

Order of items

The order in which the objects will be in the resulting SQL script can be modified on the Order items tab.… Read the rest

Updating SQL Server projects

How to update your SQL Server ER diagrams

If you have created a project using reverse engineering, you have already saved the database connection and the project remembers this connection. So just click on the Update button and choose Update with default connection. The comparison will happen immediately.

update button on toolbar

A form will appear with a summary of the changes and you can accept the changes or not.… Read the rest

Visualization of existing SQL Server databases

All database connections are available in the Connections section. To create a new connection, click the Connections button on the main toolbar, and then click Create New Connection. A new modal form opens. Select SQL Server and enter the connection details.

When you are finished, click the Save Connection button.

SQL server - connection properties

Your new SQL Server connection will appear in the list of all database connections.… Read the rest

SQL Server database design

Quick start guide for SQL Server database design.

1. New project

To create a new project, click New on the main toolbar and select the SQL Server project type.

2. Add tables

Basic database objects can be added to your project/diagram by clicking the appropriate icon on the main toolbar.… Read the rest

Updating SQLite projects

You can easily visualize existing SQLite databases in Luna Modeler. And in case there are changes in the database, you can use the Project Update feature to update your project and the ER diagram.

How to update your SQLite ER diagrams created from scratch

If you modeled your database design from scratch and then created the SQLite database, do the following: Create a connection on the Connections page.… Read the rest

Updating PostgreSQL projects

How to update your PostgreSQL ER diagrams

If you have created a project using reverse engineering, you have already saved the database connection and the project remembers this connection. So just click on the Update button and choose Update with default connection. The comparison will happen immediately.

update button on toolbar

A form will appear with a summary of the changes and you can accept the changes or not.… Read the rest

Import & Visualization of existing SQLite databases

Connection to a SQLite can be created easily. Navigate to page Connections and click the Create new connection button. Select the SQLite project type and specify name and path to the database file.

new connection

Select the database file. In this example, we will load the chinook.db database.

Import file - selection

Then click the Connect and load database structure button.… Read the rest

SQLite database design

Quick start guide for SQLite database design.

  1. New project
  2. Tables and columns
  3. Relationships and foreign keys
  4. Code generation
  5. Report generation
  6. Visualization of existing databases

1. New project

To create a new project, click New on the toolbar and select the MariaDB project type.

2. Database tables and columns

New database tables can be inserted into projects by clicking Table on the toolbar and then by clicking the main diagram area.… Read the rest

Visualization of existing MySQL databases

All database connections are available in the Connections section. To create a new connection, click the Connections button on the main toolbar, and then click Create New Connection. A new modal form opens. Select MySQL and enter the connection details.

When you are finished, click the Save Connection button.

mySQL connection

Your new MySQL connection will appear in the list of all database connections.… Read the rest

Quick links

Free Trial Buy Now!