Executing SQL Commands /text/shared/guide/data_enter_sql.xhp Sun Microsystems, Inc. fpe: changed to match new database interface SQL; executing commands Executing SQL Commands With the help of SQL commands you can control the database directly, and can also create and edit tables and queries. Not all database types support all SQL instructions. If necessary, find out which SQL commands are supported by your database system. To execute an SQL statement directly Choose File - Open to open a database file. Choose Tools - SQL. In the Execute SQL statement dialog, enter the SQL statement and click Execute. To edit a query using an SQL statement Choose File - Open to open the database file of the database for which you want to edit an SQL query. Click the Queries icon. Click the query you want to edit. Choose Edit - Edit. In the Query window, choose View - Switch Design View On/Off. Edit the SQL command. Choose View - Preview for a preview, if required. Click the Save icon Icon to save the query.
Query Design