Execute SQL statement

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

Để truy cập lệnh này...

In a database file window, choose Tools - SQL.


Executing SQL Commands

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

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


Command to execute

Enter the SQL administration command that you want to run.

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

SELECT "Address" FROM "biblio" "biblio"

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

Chạy lệnh SQL trực tiếp

In Native SQL mode you can enter SQL commands that are not interpreted by LibreOffice, 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.

Show output of "select" statements

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

Execute

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

Previous commands

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

Status

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

Output

Displays the results of the SQL command that you ran.

Đóng

Đóng hộp thoại.

Please support us!