Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.0 » SQL Anywhere Server - Database Administration » Administering Your Database » SQL Anywhere graphical administration tools » Using Interactive SQL » Using source control integration


Checking files out from Interactive SQL

Once you open a file in Interactive SQL, there are two ways you can check the file out: modifying its contents in the SQL Statements pane, or using the command on the File menu.

When you configure the source control options for Interactive SQL, if you select Automatically Check Out Files When Editor Contents Are Modified, Interactive SQL attempts to check out a file when you modify its contents in the SQL Statements pane.

To check out a file using the Interactive SQL File menu

  1. Choose File » Open, and then browse to the file you want to open.

    The file status appears on the status bar at the bottom of the Interactive SQL window. The status is one of Checked In, Checked Out, or Not Controlled. Files that are checked in are assumed to be read-only, and Read-Only appears in the Interactive SQL title bar. The file in the following example is checked in:

    Interactive SQL with a file open that is checked in to a source control system.
  2. Check out the file by choosing File » Source Control » Check Out.

    Depending on which source control product you are using, you may be prompted for a comment or other options as part of the check out procedure.


If you are using a SCC-compliant source control system, the status is always accurate. However, if you use the custom source control system, the status is based on whether the file is read-only or not. A read-only file is assumed to be checked in, but no assumptions are made about editable files because they could be either checked out or not controlled.