Name

STATUS — Print information about connected databases.Function

Syntax

      status &optional full => 

Arguments and Values

full

A boolean indicating whether to print additional table information. The default value is NIL.

Description

Prints information about the currently connected databases to *STANDARD-OUTPUT*. The argument full is NIL by default and a value of t means that more detailed information about each database is printed.

Examples

(status)

CLSQL STATUS: 2004-06-13 15:07:39
--------------------------------------------------------
   DATABASE                 TYPE               RECORDING  
--------------------------------------------------------
   localhost/test/petrov    mysql              nil        
   localhost/test/petrov    postgresql         nil        
   localhost/test/petrov    postgresql-socket  nil        
   test/petrov              odbc               nil        
*  :memory:                 sqlite             nil        
--------------------------------------------------------

(status t)

CLSQL STATUS: 2004-06-13 15:08:08
-------------------------------------------------------------------------------
   DATABASE                 TYPE               RECORDING  POOLED  TABLES  VIEWS  
-------------------------------------------------------------------------------
   localhost/test/petrov    mysql              nil        nil     7       0      
   localhost/test/petrov    postgresql         nil        nil     7       0      
   localhost/test/petrov    postgresql-socket  nil        nil     7       0      
   test/petrov              odbc               nil        nil     7       0      
*  :memory:                 sqlite             nil        nil     0       0      
-------------------------------------------------------------------------------

Side Effects

None.

Affected by

None.

Exceptional Situations

None.

See Also

connected-databases
connect
disconnect
*connect-if-exists*
find-database

Notes

None.