GDjji‖

LhDmb‖Execute SQL statement

BtQ2b‖Opens a dialog where you can enter an SQL command for administering a database.

To access this command...

In a database file window, choose Tools - SQL.


Executing SQL Commands

jhBMm‖You can only enter administration commands in this dialog, such as Grant, Create Table, or Drop Table, and not filter commands. The commands that you can enter depend on the data source, for example, dBASE can only run some of the SQL commands list here.

note

xvNDZ‖To run an SQL query for filtering data in the database, use the Query Design View.


Ck9G4‖Command to execute

BHLbE‖Enter the SQL administration command that you want to run.

5DFEP‖For example, for a "Bibliography" data source, you can enter the following SQL command:

XDWsR‖SELECT "Address" FROM "biblio" "biblio"

LjEvw‖For more information on SQL commands, please consult the documentation that came with the database.

HuRMo‖Run SQL command directly

QJL3i‖In Native SQL mode you can enter SQL commands that are not interpreted by LibreOfficeDev, but are instead passed directly to the data source. If you do not display these changes in the design view, you cannot change back to the design view.

hdoAK‖Show output of "select" statements

nB4gp‖Show the result of the SQL SELECT command in the Output box.

uaXF8‖Execute

6UCdY‖Runs the command that you entered in the Command to execute box.

BQmT9‖Previous commands

8AWBX‖Lists the previously executed SQL commands. To run a command again, click the command, and then click Execute.

AvXck‖Status

7RS4e‖Displays the status, including errors, of the SQL command that you ran.

8qcm5‖Output

pEFoq‖Displays the results of the SQL command that you ran.

xbUWD‖Close

Q59Tv‖Closes the dialog.