Product Home
DTM SQL editor Online Documentation
General
Product profile
Product versions
Database tools
Install software
Upgrade software
Uninstall software
System requirements
How to buy
Product features
User interface
Hot keys
SQL editor
Search and replace
Data export
SQL library
Results viewer
Connect to database
Macros: definition and using
Database schema viewer
Find database object
Data editor
Schema object
Filter database schema
Version control
Command line options
Settings and options
SQL builder
SQL builder
Select type of the statement
Specity objects for select
Build WHERE cause
Select tables or views
Select one table or view
Select fields
Set or change values
ORDER BY and GROUP BY
Create table
Create index
Create view
Plug-ins and SDK
Plug-ins and SDK
Data structures
Plug-in sample, sources
Plug-ins Library
General information
Directory by DBMS
MS SQL Server
Run Query Analyzer
Oracle
Run SQL*Plus
General
Insert Module Header
External preprocessor
Run external tool
Run after script execution
Save/Load Hisroty
Send script by e-mail
Simply preprocessor
WinDiff interface
Directory by functions
Editor plug-ins
Insert Module Header
Run external tool
Run Oracle SQL*Plus
Run MS Query Analyzer
Send script by e-mail
Schema plug-ins
Results plug-ins
Common plug-ins
Run WinDiff
Save/Load Hisroty
Preporcessors
External preprocessor
Simply preprocessor
After execution plug-ins
Run after script execution
Information
Licence agreemnet
Technical support
Send feedback
FAQ and tips
Program tutorial
Troubleshooting guide
Glossary
SQL reference
SQL quick reference

Tutorial

How do I save script?

Just select "Script->Save" item in the menu of the main program window. You will be asked to enter the name of file if the file being edited was created with the "New file" command.

Execute "Script->Save as" command when you want to save the file under different name(s). The dialog that follows will allow you to change the directory and specify the name for the current file. Pay your attention to the preview capability of this dialog, so you don't overwrite necessary file(s) or script(s).

Every time you make any changes in the file and decide to exit the program, you will be warned and asked about saving this file with several options provided.

If auto save feature has been enabled, the program periodically will save the contents of the current file into "autosave.tmp" that can be found in the program's directory (for ex. C:\Program Files\SQLedit\autosave.tmp).

How do I load existing script?

When running the program, you have to select "Script->Load" menu item in the main window to load the script file. "Open File" dialog allows you to preview SQL script before the file is loaded into editor.

Specifying the filename as an argument in the command line. For example: se.exe MySQLscript.sql

Using drag-n-drop. If you have the program running, simply grab the file and drop it anywhere inside the main window. Otherwise, drop it onto the program's shortcut icon (located on the Desktop or in the folder you placed it in) - and the program will start with the file loaded into the editor.

Using Edit history. "Load" toolbar button has special drop-down menu, which lists the files you have edited last time. Selecting the file from the menu and it will be loaded again.

How do I get and view the results of script execution?

If the SQL script being executed produces the resulting record set, you can view it in the "Results" pane of the main winfow. It allows you to:

  • list the record set one record by one or page by page;
  • set the width of columns representing the fields of records;
  • see the current record number.

Placing the mouse cursor over the column header will tell you the type of data stored in this field.

How to select database to connect to?

Please use "plus" toolbar button or Connect menu item for open "Connect" dialog to select Interface (ODBC, IDAPI or OCI), Data source or alias name, user name and owner name.

Some types of DBMS require user name (login) and access password to be specified. When you want to access the tables belonging to one data scheme (or owner), you should fill the "owner" entry, otherwise all tables will be accessed.

Important! Database name selection support works only for Microsoft SQL Server 6.5 or higher.

See also FAQ