Help

These are the pages bonSQL opens from its Help buttons and the F1 key. Each one covers a window or a dialog of the program. New to bonSQL? Start with Getting started.

Some pages are still being written; they are marked.

Getting started and windows

  • Getting started Installing bonSQL, the first start, connecting and running a first query.
  • The Object Browser The tree of databases, tables, views and routines on the left, and what its menus do.
  • The query editor Writing and running queries: tabs, running one or all queries, files and editing aids.
  • The Result tab Reading, sorting, filtering and editing a query's results.
  • The Messages tab What each query did: rows affected, timings, warnings and errors.
  • The History tab The queries bonSQL has run on a connection, with their times.
  • SQL templates Ready-made statements to insert into the editor, and your own.
  • Preferences The General, Fonts & Editor Settings and Others pages of Tools > Preferences.
  • Checking for updates Help > Check for Updates, and the optional weekly check.

Connecting

Databases and objects

  • Creating a database A new database with its character set and collation.
  • Database schema as HTML A browsable HTML document describing a database's tables and columns.
  • Emptying a database Dropping some or all objects of a database while keeping the database.
  • Views Creating, changing and dropping views.
  • Stored procedures Creating, changing and dropping stored procedures.
  • Functions Creating, changing and dropping stored functions.
  • Triggers Creating, changing and dropping triggers.
  • Events Creating, changing and dropping scheduled events.
  • User Manager Creating users and granting or revoking their privileges.
  • Flush Flushing logs, privileges, tables, hosts and status on the server.
  • Server variables and status Reading the server's variables and status counters.

Tables, columns and indexes

  • Creating a table The table designer for a new table: columns, types, defaults and options.
  • Changing a table The table designer for an existing table, and what it sends to the server.
  • Table options The designer's Advanced tab: engine, character set, row format and other options.
  • Creating an index Adding indexes: columns, order, unique, primary and full-text.
  • Changing an index Editing and dropping indexes in the table designer.
  • Foreign keys Relationships between tables and their ON DELETE and ON UPDATE rules.
  • Check constraints Rules a row must satisfy, on servers that enforce them.
  • SQL preview The statements the table designer will run, before it runs them.
  • Table diagnostics Checking, analysing, optimising and repairing tables.

Data

Import, export and backup