AppCode 2019.1 Help

Run SQL script files

Run an SQL file

  1. Right-click a data source.

  2. Select Run SQL Script.

  3. In the Select Path window, navigate to the SQL file that you want to apply.

Run an SQL file

Run an SQL file for several data sources

  1. Select the necessary SQL file in the Project tool window.

  2. Right-click the SQL file, select Run <file_name> (or press ⌃⇧R).

  3. In the Execution target window, select the necessary data sources.

Run an SQL file for several data sources

Run individual statements

  1. Open an SQL file in AppCode.

  2. Click the statement that you want to execute. If you want to execute more than one statement, select (highlight) the necessary statements.

  3. Press ⌘⏎ or select Execute from the context menu.

  4. Select the database console where you want to execute the statement.

Run individual statements
Last modified: 18 April 2019

See Also

Language and Framework-Specific Guidelines: