Commands
Also see the list of ttIsql
Set/Show Attributes.
Boolean commands can accept the values "ON
" and "OFF
" or "1
" and "0
".
ttIsql
has the commands:
Command | Description |
---|---|
|
Gets input from a user and The prompt is displayed before waiting for input, if specified without the |
|
Lists, in a single column, the names of all the PL/SQL functions that match the given pattern selected from If passthrough is enabled, lists PL/SQL functions matching the pattern in the Oracle database. See the |
|
Describes the indexes that it finds on the tables that match the input pattern selected from If passthrough is enabled, lists indexes on tables matching the pattern in the Oracle database. See the |
|
Lists, in a single column, the names of all the PL/SQL packages that match the given pattern selected from If passthrough is enabled, lists PL/SQL packages matching the pattern in the Oracle database. See the |
|
Lists, in a single column, the names of all the PL/SQL procedures that match the given pattern selected from If passthrough is enabled, lists PL/SQL procedures matching the pattern in the Oracle database. See the |
|
Lists, in a single column, the names of all the sequences that match the given pattern selected from If passthrough is enabled, lists sequences on tables matching the pattern in the Oracle database. See the |
|
Lists, in a single column, the names of all synonyms that match the given pattern. When a pattern is missing, the pattern defaults to " If passthrough is enabled, lists synonyms on tables matching the pattern in the Oracle database. See the |
|
Lists, in a single column, the names of all the tables that match the given pattern selected from If passthrough is enabled, lists tables matching the pattern in the Oracle database. See the |
|
Lists, in a single column, the names of all the views that match the specified pattern selected from If passthrough is enabled, lists views matching the pattern in the Oracle database. |
|
Lists, in a single column, the names of all the TimesTen built-in procedures that match the given pattern. When the pattern is missing, the pattern defaults to " See the |
|
Exits |
|
Reports information on cache groups defined in the currently connected data source, including the state of any terminated databases that contain autorefresh cache groups. If the optional argument is not specified then information on all cache groups in the current data source is reported. |
|
Generates an Oracle SQL*Plus compatible script for the installation or uninstallation of Oracle database objects associated with a readonly cache group, a user managed cache group with incremental autorefresh or an AWT cache group. If If If the optional |
|
Changes the current directory. This is the equivalent of the After changing to the directory Subsequent commands that rely on relative paths will use this directory as the starting point. Examples of affected commands are |
|
Clears the history buffer. Also see |
|
Sets the client timeout value in seconds for the current connection. If no value is specified, displays the current value. See Choose SQL and PL/SQL Timeout Values in Oracle TimesTen In-Memory Database Operations Guide for information about the relationship between the client timeout, SQL timeout, and PL/SQL timeout. |
|
Closes the prepared command identified by connection name Use |
|
Displays the contents of the TimesTen SQL command cache. Specify the If passthrough is enabled, the command ID is not passed through to the Oracle database. |
|
Commits the current transaction (durably if |
|
Commits the current transaction durably. |
|
Compacts the database. |
|
Compares the values of two variables and reports if they are different. The first difference is reported. |
|
Connects to the database with the specified ODBC If no password is supplied in this format, If no user is given, If When |
|
Takes a table name, the number of threads for parallel load and an Oracle Creates the table in TimesTen if the table does not exist. Then, loads the table with the query result from the Oracle database. If the command creates the table, the table column names and types are derived from the query result. Notes:
Required Privileges: Requires |
|
Defines a string substitution alias. If no value is provided, You must |
|
List information on tables, synonyms, views, materialized views, sequences, cache groups, PL/SQL functions, PL/SQL procedures, PL/SQL packages and TimesTen built-in procedures in that order when the argument is Describes the parameters and results columns when the argument is If If If the table or materialized view being described is in a TimesTen Scaleout database, this command reports the distribution scheme. When describing cache groups, reports information on cache groups defined in the currently connected data source, including the state of any terminated databases that contain autorefresh cache groups. If the command is describing a sequence in a TimesTen Scaleout database, displays the batch field. The command alias is Use |
|
Disconnects from the database. If |
|
Prints size information in KB, MB, GB or TB. For TimesTen Scaleout, provides the size of the element. The default is MB. The output indicates the unit returned. |
|
Echoes the specified messages, terminated by the end of the line. A semicolon is not required to end the line. Messages are not echoed if verbosity is set to 0. |
|
You can use the If TimesTen does not find an exact file match for the specified You can edit a SQL statement that is stored in the history list of the current If you run the You can only use one parameter at a time. The You can specify the default editor by defining the Command> DEFINE _EDITOR=vi If you do not define the For more details, see Using the ttIsql edit Command in Oracle TimesTen In-Memory Database Operations Guide. |
|
Runs the prepared command n connection The If no argument is supplied, runs the most recent command. Use |
|
Runs and fetches all results from prepared command Use |
|
Explains the plan for the specified SQL statement, including prepared A digit that is not qualified with the If passthrough is enabled, the command ID is not passed through to the Oracle database. |
|
Fetches all results from prepared command If Use |
|
Fetches up to If Use |
|
Fetches one result from prepared command If Use |
|
Frees prepared command If no command is specified, frees the most recent command. Use |
|
Lists, in a single column, the names of PL/SQL functions owned by the current user that match the given pattern. When a name pattern is missing, the pattern defaults to If passthrough is enabled, lists PL/SQL functions matching the pattern in the Oracle database. See the |
|
Performs that specified statement on a grid database. |
|
Formats the contents of the If the This command is not supported in TimesTen Classic. |
|
Prints brief or detailed help information for commands. If specific commands are given as arguments then detailed help for each command is printed. If you do not know the exact name of a command, try typing just a few characters that may be part of the command name. If If If If no argument is given then brief help information for all commands is printed. |
|
Lists previously run commands. The The output of this command omits consecutive duplicate commands. Use the Use the Use the The history list stores up to 100 of the most recently run commands. See the |
|
Runs an operating system command. The command is run in the same console as This command sets the environment variable The value of the variable is the connection string of the current connection. To see the exit status of the command, use the |
|
The |
|
Describes the indexes that it finds on the tables owned by the current user that match the input pattern. When a name pattern is missing, the pattern defaults to If passthrough is enabled, lists indexes on tables matching the pattern in the Oracle database. See the |
|
Formats the contents of the If the |
|
Lists, in a single column, the names of PL/SQL packages owned by the current user that match the given pattern. When a name pattern is missing, the pattern defaults to If passthrough is enabled, lists PL/SQL packages matching the pattern in the Oracle database. See the |
|
Prepares the specified SQL statement. If the The Use |
|
Prints the value of the specified bind variable or all variables if no variable is specified. If the variable is a |
|
Lists, in a single column, the names of PL/SQL procedures owned by the current user that match the given pattern. When a name pattern is missing, the pattern defaults to If passthrough is enabled, lists PL/SQL procedures matching the pattern in the Oracle database. See the |
|
Exits |
|
Specifies that the message on the line should be treated as a comment. When |
|
Reports information on replication schemes defined in the currently connected data source. This information describes all elements associated with the replication schemes. If the optional argument is not specified then information on all replication schemes defined in the current data source is reported. |
|
Disables( If the connection retry feature is enabled then connection attempts to a data source that initially fail due to a temporary situation are retried until the connection attempt succeeds. For example, if data source recovery is in progress when attempting to connect, the connection retry feature causes the connect command to continue to attempt a connection until the recovery process is complete. If the optional argument is omitted then the connection retry feature is enabled by default. |
|
Rolls back the current transaction. |
|
The
Only variables that are character based ( |
|
Reads and runs SQL commands from The When you specify See Example Parameters of Command String Substitution for a description of |
|
Writes the history buffer to the specified Consecutive duplicate commands are omitted. Use the Use the Use See the |
|
Lists, in a single column, the names of sequences owned by the current user that match the given pattern. When a name pattern is missing, the pattern defaults to If passthrough is enabled, lists sequences on tables matching the pattern in the Oracle database. See the |
|
Sets the specified If no value is specified, displays the current value of the specified attribute. For a description of accepted attributes, see Set/Show Attributes. |
|
Specifies the join order for the optimizer. |
|
Sets the index hint for the query optimizer. |
|
Sets the value of a scalar bind variable or an element of an array bind variable. For example: For more information, see Declaring and Setting Bind Variables in Oracle TimesTen In-Memory Database Operations Guide. |
|
Displays the value for the specified For a description of accepted attributes, see Set/Show Attributes. |
|
Enables or disables the storing of join orders.
Call the |
|
Suspends operation for
|
|
Writes a copy of the terminal output to the file If you do not provide an extension to
When you specify the value If you specify a spool command while one is running, the active spool is closed and a new files is opened. |
|
Prints results of an ODBC call to |
|
Prints results of an ODBC call to |
|
Prints results of an ODBC call to |
|
Prints results of a call to |
|
Clears statistics for specified table (or all tables if no table is specified). |
|
Estimates statistics for specified table (or all tables if no table is specified). If you estimate statistics with an empty table list, statistics on system tables are updated also, if you have privileges to update the system tables. |
|
Updates statistics for specified table (or all tables if no table is specified). If |
|
Lists, in a single column, the names of synonyms owned by the current user that match the given pattern. When a name pattern is missing, the pattern defaults to If passthrough to an Oracle database is enabled, lists synonyms on tables matching the pattern in the Oracle database. See the |
|
Lists, in a single column, the names of tables owned by the current user that match the given pattern. When a name pattern is missing, the pattern defaults to If passthrough to an Oracle database is enabled, lists tables matching the pattern in the Oracle database. See the |
|
For each table that matches the pattern, lists the contents of the See the |
|
Undefines a string substitution alias. |
|
Clears join order advice to optimizer. |
|
Clears the index hint for the query optimizer. |
|
Displays the list of current connections and their IDs. If connid is specified, switches to the given connection ID. To use the name of the first connection, you can specify If See the |
The syntax for binding multiple values to an array using the variable array_name
'[' array_size ']'
|
Declares a bind variable that can be referenced in a statement or displays the definition of the variable if the type is missing. Type can be one of the following: Assigns a value to a single variable or multiple values if the data type is an array. You can assign a value later with the For more information, see Declaring and Setting Bind Variables in Oracle TimesTen In-Memory Database Operations Guide. |
|
Reports version information. |
|
Lists, in a single column, the names of views owned by the current user that match the given pattern. When a name pattern is missing, the pattern defaults to " If passthrough to an Oracle database is enabled, lists views matching the pattern in the Oracle database. See the |
|
Runs the given statement once a second until the query returns the expected result or a timeout occurs. The query must have only one column and must return exactly one row. Any errors in the query terminate the loop. |
|
Similar to the Runs the given statement once a second until the query returns the expected result or a timeout occurs. The |
|
Provide direction on how to handle errors when in |
|
Deletes a persistent XLA bookmark. If a bookmark to delete is not specified then the status of all current XLA bookmarks is reported. Also see ttXlaDeleteBookmark in Oracle TimesTen In-Memory Database C Developer's Guide. Requires |