Execute SQL statement

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

Aby wykonać tę operację...

In a database file window, choose Tools - SQL.


Wykonywanie poleceń SQL

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.

Wykonaj bezpośrednio polecenie SQL

W trybie Natywny SQL możesz wprowadzać polecenia SQL, które nie są interpretowane przez LibreOffice, ale zamiast tego są przekazywane bezpośrednio do źródła danych. Jeśli nie wyświetlisz tych zmian w widoku projektu, nie możesz wrócić do widoku projektu.

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.

Zamknij

Zamyka okno dialogowe.