If the text that begins an abbreviation is typed, Aqua Data Studio will prompt the user with a popup containing the contents of the abbreviation. You must press the "Refresh Schema" button to clear the cache.Ībbreviation Autocompletion - Autocompletion also works with abbreviations that a user has created for each of the editors ( File->Options->Editors->SQL Editor->Abbreviation). The editor will cache the schema tables and columns for auto-completion for performance purposes, so any table additions or removals after the query window is open will not be available to auto-completion. The user may always get a list of tables in a specific schema by specifing the schema name and "." (eg HR.^). "Auto-on-all-schemas" determines whether auto-completion displays a list of tables in the current user schema or all tables in all user schemas in the connected database. The "Auto-Complete" button will enable or disable auto-completion for the query window. The options are: 1) Auto-Complete, 2) Auto-on-all-schemas and 3) refresh auto-completion. The editor toolbar ( Query Analyzer Toolbar) has 3 options which control the behavior of "auto-completion." Their icons are found on the second row of the Query Analyzer Toolbar, 11 icons to the right, just after "reconnect". Having multiple statements not separated by statement separators will prevent auto-completion from providing the correct tables and columns. While writing SQL statements the user must be aware of separating statements with the appropriate statement separator (use only "GO" or "/") so that the editor may appropriately analyze the current statement. For autocompletion to determine the column name it first needs the table name. Autocompletion via CTRL-space may not provide options immediately following SELECT because the syntax for a select is SELECT FROM. The editor will identify the list of tables and columns from the Database and prompt the user depending on the position of the cursor. If the editor does not prompt a user for options with a popup menu, the user may always request "options" with the CTRL-space hot key. How quickly the autocompletion popup menu appears, and how complete its listings are, can also be set with a series of options. As the user types SQL statements the editor will analyze the SQL statement and determine whether the user can be assisted by a popup menu of options. Aqua Data Studio supports auto-completion for database tables and columns.
0 Comments
Leave a Reply. |