Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

commandnotestatuscomment
!allExecute the specified SQL against all the current connections.
Status
colourGreen
titleok
---
!autocommitEnable or disable automatic transaction commit mode
Status
colourRed
titleFAILED
Impossible to disable autocommit
!batchStart or execute a batch of SQL statements
Status
colourGreen
titleok
---
!briefEnable terse output mode
Status
colourGreen
titleok
---
!verboseEnable verbose output mode
Status
colourGreen
titleok
---
!callExecute a callable statement
Status
colourGrey
titleN/a
Doesn't support from our side.
!closeClose the active connection
Status
colourRed
titleFAILED
Error message: Ambiguous command: [close, closeall]
!closeallClose all current open connections
Status
colourGreen
titleok
---
!columnsDisplay columns of a table
Status
colourGreen
titleok

Display int instead of type of field e.g. 

-5 = java.lang.Long, 12 = java.lang.String

!commit Commit the current transaction, if autocommit is off.
Status
colourRed
titleFAILED
autocommit always true so commit doesn't make sense
!connectConnect to a database
Status
colourGreen
titleok
---
!dbinfoList metadata information about the current connection.
Status
colourGreen
titleok
---
!describeSynonym for columns (if an argument is specified) or tables (if no argument is specified).
Status
colourRed
titleFAILED

Doesn't work without parameter. so now !describe =!columns

!dropallDrop all tables in the database
Status
colourGreen
titleok
---
!exportedkeysList exported foreign keys for a database
Status
colourGrey
titleN/a
Doesn't support from our side.
!goChange to a different active connection
Status
colourGreen
titleok
---
!helpDisplay help information
Status
colourGreen
titleok
Help shows not all commands that there are in manual.
!historyDisplay the command history
Status
colourGreen
titleok
---
!importedkeysList imported foreign keys for a database
Status
colourGrey
titleN/a
Doesn't support from our side.
!indexesDisplay indexes for a table
Status
colourGreen
titleok
---
!isolationSet the transaction isolation mode for the active connection
Status
colourRed
titleFAILED
autocommit always equals true so I can't to test this parameter
!listDisplay all active connections
Status
colourGreen
titleok
---
!manualDisplay sqlline manual
Status
colourGreen
titleok
---
!metadataInvoke arbitrary metadata commands
Status
colourGreen
titleok
---
!nickname

Create a friendly name for the connection (updates command prompt)

Status
colourGreen
titleok
---
!outputformatChange the method for displaying SQL results
Status
colourGreen
titleok
---
!primarykeysDisplay the primary key columns for a table
Status
colourGreen
titleok
---
!proceduresList stored procedures
Status
colourGrey
titleN/a
Doesn't support from our side.
!properties Connect to the database defined in the specified properties file.
Status
colourGreen
titleok
---
!quitExit SQLLine
Status
colourGreen
titleok
---
!reconnectReconnect to the current database
Status
colourGreen
titleok
---
!recordBegin recording all output from SQL commands
Status
colourGreen
titleok
---
!rehash

Get a list of all tables and columns from the database in order to include them in the list for tab-completion of SQL statements. This is done automatically on connect when the fastconnect option is enabled.

Status
colourRed
titleFAILED
 

- with and without fastconnect

 

NPE from sqlline side
!rollbackRoll back the current transaction (if autocommit is off)
Status
colourRed
titleFAILED
autocommit always true so rollback doesn't make sense
!runExecute a command script
Status
colourGreen
titleok
---
!saveSave the current preferences to some file
Status
colourRed
titleFAILED

Doesn't override current parameters in ~/.sqlline/sqlline.properties 

!scanScan class path for JDBC drivers
Status
colourRed
titleFAILED
Output - 

Compliant Compliant Version Compliant Compliant Version Driver Class

Compliant Compliant Version Compliant Compliant Version Driver Classno  Classno        1.0     org.apache.ignite.IgniteJdbcDriverCompliant Compliant Version Compliant Compliant Version Driver Classno

!scriptSave executed commands to a file
Status
colourGreen
titleok
---
!set

Set a sqlline variable

Status
colourRed
titleFAILED
Values of parameters wasn't changed
!sql Execute a SQL against a database
Status
colourGreen
titleok
---
!tablesList all the tables in the database
Status
colourGreen
titleok
---

...