Show AllShow All

Run, view, or edit an SQL command, procedure, or statement

If you know Structured Query Language (SQL), you can use SQL to edit a query's SQL SELECT statement. For more information about SQL, see the documentation for your database.

  1. Create a new query. Do not return the results to Microsoft Excel.

    How?

  2. Click View SQL Button image.

    Microsoft Query displays the SQL dialog box with the SQL SELECT statement that corresponds to the query.

  3. Type any changes you want to make into the SQL statement, and then click OK.

    To add a new line in the SQL statement box, press ENTER.

Notes